POST
/
payment-methods
/
{payment_method_id}
/
network-tokens
/
{network_token_id}
/
resume
curl --request POST \
  --url https://api.{gr4vy_id}.gr4vy.app/payment-methods/{payment_method_id}/network-tokens/{network_token_id}/resume \
  --header 'Authorization: Bearer <token>'
{
  "type": "network-token",
  "id": "d6ad71d5-6908-45d6-ab65-39c55475dd08",
  "payment_method_id": "9bdc4bc4-005e-4658-8eee-a309fc43cd4d",
  "status": "active",
  "token": "<string>",
  "expiration_date": "01/30",
  "created_at": "2021-01-01T12:34:00.000+00:00",
  "updated_at": "2021-01-01T12:34:00.000+00:00"
}

This endpoint requires the payment-methods.write scope.

Authorizations

Authorization
string
header
required

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

Path Parameters

payment_method_id
string
required

The ID of the payment method.

Example:

"46973e9d-88a7-44a6-abfe-be4ff0134ff4"

network_token_id
string
required

The ID of the network token.

Example:

"454f6a32-a572-4dda-b885-3e8674086123"

Response

200
application/json
Returns resumed network token.

A network token generated by an open-loop PSP.