v1

latestOpenAPI 3.0.12026-07-2412502.6 MB
Carts

Create Paypal Token

 

post/carts/{cart_token}/payment_tokens

Request body

payment_method_idinteger required

Use the value '6' for payment method ID to use a PayPal checkout.

redirect_urlstring required

The URL to direct your customer to after they have validated payment information with PayPal. Once this is finished, you can complete the order with the token provided by PayPal.

Response

OK

payment_token_idstring
post_datastring
merchant_idinteger nullable