POST
/
payment-methods
/
{payment_method_id}
/
network-tokens
/
{network_token_id}
/
cryptogram
curl --request POST \
  --url https://api.{id}.gr4vy.app/payment-methods/{payment_method_id}/network-tokens/{network_token_id}/cryptogram \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "merchant_initiated": false
}'
{
  "type": "network-token-cryptogram",
  "cryptogram": "A3F9C2D47E1B56A9"
}

Authorizations

Authorization
string
header
required

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

Headers

x-gr4vy-merchant-account-id
string

The ID of the merchant account to use for this request.

Examples:

"default"

Path Parameters

payment_method_id
string
required

The ID of the payment method

Examples:

"ef9496d8-53a5-4aad-8ca2-00eb68334389"

network_token_id
string
required

The ID of the network token

Examples:

"f8dd5cfc-7834-4847-95dc-f75a360e2298"

Query Parameters

timeout_in_seconds
number
default:1

Body

application/json

Response

201
application/json
Successful Response

The response is of type object.