Paymenttokens
The Payment Tokens resource is responsible for saving payment tokens to a shopper’s profile and order.The Payment Tokens resource is responsible for saving payment tokens to a shopper’s profile and order.The Payment Tokens resource is responsible for saving payment tokens to a shopper’s profile and order.
Create New Payment Token For Order
Create a new payment token for an order. The payment token created will only exist for this order and will not be saved to the shopper’s profile. The newly created payment token will be automatically selected for the order.
Workflow
- Start with paymentmethod-info
GET
the link with rel: paymenttokenform- Fill out the form
POST
the form using the link with rel: createpaymenttokenaction
Create New Payment Token For Profile
Create a new payment token for a profile. If the profile does not have default payment method then this payment token will become the default payment method.
Workflow
- Start with paymentmethods
GET
the link with rel: paymenttokenform- Fill out the form
POST
the form using the link with rel: createpaymenttokenaction