Only for the Commerce API.
commerce_end_user_id
. Then, use the returned payment method id
as the payment_method_id
in the Create an Order Batch endpoint along with the commerce_end_user_id
.
For more information, refer to Embedded Payment Form.Authorizations
Your Goody API key.
Body
application/json
The name on the card.
The user ID of the user in your app to associate this payment method with.
The type of payment method to create. Currently, only card
is supported.
The key for the interim card to use for the payment method.
Response
Commerce user payment method created
Brand of the card, e.g. 'Visa' or 'Mastercard'.
Last 4 digits of the card number.
Date and time the payment method was created, ISO 8601 format.