POST

/payment-methods/{payment_method_id}/network-tokens/{network_token_id}/cryptogram

curl --request POST \
  --url https://api.sandbox.{gr4vy_id}.gr4vy.app/payment-methods/{payment_method_id}/network-tokens/{network_token_id}/cryptogram \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "merchant_initiated": false
}'
{
  "cryptogram": "string"
}

This endpoint requires the payment-methods.write scope.

Authorizations

Authorizationheaderrequired
string

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

payment_method_idrequired
string

The ID of the payment method.

network_token_idrequired
string

The ID of the network token.

Body

application/json
merchant_initiatedrequired
Default: false
boolean

Defines if the request is merchant initiated or not.

Response

201 - application/json
cryptogram
string

The cryptogram of the network token.