GET
/
payment-methods
/
{payment_method_id}
/
network-tokens
curl --request GET \
  --url https://api.{id}.gr4vy.app/payment-methods/{payment_method_id}/network-tokens \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "type": "network-token",
      "id": "918f6c9b-5d11-4897-98dc-23fda6fe0055",
      "expiration_date": "12/30",
      "payment_method_id": "ef9496d8-53a5-4aad-8ca2-00eb68334389",
      "status": "active",
      "token": "4111123456789012",
      "created_at": "2013-07-16T19:23:00.000+00:00",
      "updated_at": "2013-07-16T19:23:00.000+00:00"
    }
  ]
}

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 | null

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"

Response

200
application/json
Successful Response

The response is of type object.