POST
/
payment-services
/
verify
curl --request POST \
  --url https://api.{gr4vy_id}.gr4vy.app/payment-services/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "payment_service_definition_id": "stripe-card",
  "fields": [
    {
      "key": "private_key",
      "value": "sk_test_26PHem9AhJZvU623DfE1x4sd"
    }
  ]
}'
This response does not have an example.

This endpoint requires the payment-services.write scope.

Authorizations

Authorization
string
header
required

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

Body

application/json

Request body for verifying credentials against a payment service.

Response

200

Returns 200 OK if credentials successfully verified.