POST
/
payment-services
/
verify

This endpoint requires the payment-services.write scope.

Authorizations

Authorization
string
headerrequired

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.

payment_service_definition_id
string
required

The ID of the payment service to use.

Required string length: 1 - 50
fields
object[]
required

A list of fields where each field is a key-value pair that represents a defined field in the definition of the payment service. You are not required to send the full list of fields if the credentials for the payment service are already stored. For example, if your credentials for stripe-card are stored and you only provide a secret_key in the request, it will override the stored secret_key and verify the resulting set of credentials against the payment service.

payment_service_id
string

The ID of the payment service. Required if sending a partial set of credentials in the fields property.