GET
/
payment-services
/
{payment_service_id}
curl --request GET \
  --url https://api.{id}.gr4vy.app/payment-services/{payment_service_id} \
  --header 'Authorization: Bearer <token>'
{
  "type": "payment-service",
  "id": "fffd152a-9532-4087-9a4f-de58754210f0",
  "merchant_account_id": "default",
  "payment_service_definition_id": "stripe-card",
  "active": true,
  "method": "card",
  "display_name": "Stripe",
  "position": 1,
  "status": "created",
  "accepted_currencies": [
    "USD",
    "EUR",
    "GBP"
  ],
  "accepted_countries": [
    "US",
    "DE",
    "GB"
  ],
  "payment_method_tokenization_enabled": true,
  "network_tokens_enabled": true,
  "open_loop": true,
  "settlement_reporting_enabled": true,
  "three_d_secure_enabled": true,
  "merchant_profile": {},
  "webhook_url": "<string>",
  "fields": [
    {
      "key": "api_key",
      "value": "key-12345"
    }
  ],
  "reporting_fields": [
    {
      "key": "api_key",
      "value": "key-12345"
    }
  ],
  "is_deleted": false,
  "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_service_id
string
required

the ID of the payment service

Examples:

"fffd152a-9532-4087-9a4f-de58754210f0"

Response

200
application/json
Successful Response

The response is of type object.