Tokenized — Create Customer
Creates a tokenized payment customer. The customer binds their card once on the RM-hosted page, after which you can charge them on demand using the Create Customer Order API.
When to Use
▾
Use this endpoint when:
- Offering "save card for later" checkout
- You manage your own charging schedule (one-off or ad-hoc)
- Building a subscription with custom billing logic
How to Use
▾
/v3/tokenized-paymentStep 1: Create the Customer
▾
POST customer + product info. RM returns a paymentUrl for the customer to bind their card.
Step 2: Send the Customer to Bind a Card
▾
Redirect them to paymentUrl. After binding, RM redirects back to your redirectUrl.
Step 3: Charge On Demand
▾
Use the returned id (customer ID) with Create Customer Order to charge whenever needed.
Request Parameters
▾
Revenue Monster Store ID
Customer email address
Customer name
Customer country code
Example: "60"
Customer phone number
Tokenized product name
Tokenized product description
URL to redirect the customer to after card binding
Response Parameters
▾
Response item
Tokenized customer ID
Merchant ID
Store ID
Customer card: front six and last four digits
Customer email
Customer country code
Customer phone number
Tokenized product name
Tokenized product description
Whether the token is active. Becomes true after card is bound successfully.
Created date time
Last updated date time
Internal usage only
URL for customer to redirect after card binding
URL for payment notifications
URL for customer to bind their card
"SUCCESS" if the request succeeded, otherwise an error code.
Error details
Error code if the request failed.
Error message if the request failed.
Debug message (sandbox only).