payment-methods.write
scope.Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The ID of the merchant account to use for this request.
"default"
Path Parameters
The ID of the payment method
"ef9496d8-53a5-4aad-8ca2-00eb68334389"
Body
The ID of the payment method to use.
"fffd152a-9532-4087-9a4f-de58754210f0"
The redirect URL to redirect a buyer to after they have authorized the payment method.
"https://example.com/callback"
The 3 or 4 digit security code often found on the card. This often referred to as the CVV or CVD.
3 - 4
"123"
Response
Successful Response
The ID for the payment service token.
"07e70d14-a0c0-4ff5-bd4a-509959af0e4d"
The ID of the payment method used to generate this token
"ef9496d8-53a5-4aad-8ca2-00eb68334389"
The ID of the payment method used to generate this token.
"fffd152a-9532-4087-9a4f-de58754210f0"
The state of the payment service token.
processing
, buyer_approval_required
, succeeded
, failed
, paused
"succeeded"
The date and time when this payment service token was first created in our system.
"2013-07-16T19:23:00.000+00:00"
The date and time when this payment service token was last updated in our system.
"2013-07-16T19:23:00.000+00:00"
Always payment-service-token
.
"payment-service-token"
"payment-service-token"
The optional URL that the buyer needs to be redirected to to further authorize the token creation.
"https://gr4vy.app/redirect/12345"
The token value. Will be present if succeeded.
1 - 300
"pm_12345"