Download OpenAPI specification:Download
| client_id required | string or null The client id provided |
| client_secret required | string or null The client secret provided |
| grant_type required | string or null The value must always be set to 'client_credentials' |
| audience required | string or null The endpoint for the API you are integrating to. Refer to documentation for possible values. |
{- "token_type": "string",
- "access_token": "string",
- "expires_in": 0,
- "scope": "string"
}| amount required | integer <int32> ( 0 .. 100000000 ] The payment amount in minor units |
| reference required | string [ 1 .. 64 ] characters [A-Za-z0-9_-] A reference to the payment |
| currency required | string [ 0 .. 3 ] characters Three-letter currency code - ISO 4217 |
| device_ip_address required | string [ 1 .. 39 ] characters The IP address from where the payment is originated (for customer initiated payments) |
object (Paytently.Payments.Gateway.Api.Contracts.Commands.Create.Route) Route details to direct your traffic | |
required | object (Paytently.Payments.Gateway.Api.Contracts.Common.Customer) Customer details |
object (Paytently.Payments.Gateway.Api.Contracts.Commands.Models.Method) The method of the payment | |
object (Paytently.Payments.Gateway.Api.Contracts.Common.BillingAddress) The billing address associated to the card | |
required | object (Paytently.Payments.Gateway.Api.Contracts.Common.PaymentUrls) URLs for the payment |
object or null An object to store any metadata associated with this payment | |
object (Paytently.Payments.Gateway.Api.Contracts.Common.Aft) The AFT information of the payment | |
| language | string or null The preferred language of the customer |
object (Paytently.Payments.Gateway.Api.Contracts.Common.CredentialOnFile) | |
object (Paytently.Payments.Gateway.Api.Contracts.Common.Schedule) |
{- "amount": 120,
- "reference": "ord123",
- "currency": "EUR",
- "device_ip_address": "192.0.2.0",
- "route": {
- "id": "rou_4x3z3vjvv5ezfbxjntr5531rn8"
}, - "customer": {
- "id": "ec3f8ed0-1568-4065-a35e-21cb6aad6965",
- "first_name": "Joe",
- "last_name": "Bloggs",
- "birth_date": "1990-07-25",
- "nationality": "FRA",
- "birth_country": "GBR",
- "occupation": "Director",
- "contact": {
- "phone": {
- "country_code": "44",
- "number": "07812345678"
}, - "email": "joe.bloggs@example.com"
}, - "lifecycle": "first_time_depositor"
}, - "method": {
- "type": "card",
- "card": {
- "number": "5454545454545454",
- "cvv": "123",
- "expiry_year": "29",
- "expiry_month": "06",
- "name_on_card": "Mr Joe Bloggs",
- "force_3ds_challenge": false,
- "preferred_scheme": false
}, - "revolut_pay": {
- "force_3ds_challenge": false
}, - "create_vault_instrument": true,
- "vault_instrument_id": "string"
}, - "billing_address": {
- "line_one": "123 Rye Lane",
- "postal_code": "SE15 5ET",
- "city": "London",
- "country": "GBR",
- "state": "string"
}, - "urls": {
- "hosted_forms": {
},
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "aft": {
- "number": "6548123789"
}, - "language": "string",
- "credential_on_file": {
- "initiator": "customer",
- "intent": "scheduled",
- "stage": "initial",
- "initial_payment_ids": {
- "paytently": "string",
- "scheme": "string"
}
}, - "schedule": {
- "external": {
- "end_date": "2019-08-24",
- "interval": {
- "amount": 0,
- "unit": "day"
}, - "min_interval_days": 0,
- "installment_count": 0
}
}
}{- "id": "pay_12345",
- "status": "pending",
- "_links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "refund": {
- "href": "string",
- "method": "string"
}, - "authorize": {
- "href": "string",
- "method": "string"
}, - "hosted_forms": {
- "href": "string",
- "method": "string"
}
}
}{- "id": "pay_12345",
- "status": "pending",
- "_links": {
- "self": {
- "href": "string",
- "method": "string"
}, - "refund": {
- "href": "string",
- "method": "string"
}, - "authorize": {
- "href": "string",
- "method": "string"
}, - "hosted_forms": {
- "href": "string",
- "method": "string"
}
}, - "reference": "string",
- "amount": 0,
- "amount_details": {
- "total_authorized": 0,
- "total_captured": 0,
- "total_refunded": 0,
- "available_to_capture": 0,
- "available_to_refund": 0
}, - "currency": "string",
- "customer": {
- "id": "ec3f8ed0-1568-4065-a35e-21cb6aad6965",
- "first_name": "Joe",
- "last_name": "Bloggs",
- "birth_date": "1990-07-25",
- "nationality": "FRA",
- "birth_country": "GBR",
- "occupation": "Director",
- "contact": {
- "phone": {
- "country_code": "44",
- "number": "07812345678"
}, - "email": "joe.bloggs@example.com"
}, - "lifecycle": "first_time_depositor"
}, - "billing_address": {
- "line_one": "123 Rye Lane",
- "postal_code": "SE15 5ET",
- "city": "London",
- "country": "GBR",
- "state": "string"
}, - "device_ip_address": "string",
- "application": {
- "id": "string",
- "entity_id": "string"
}, - "method": {
- "type": "card",
- "card": {
- "number": "string",
- "name_on_card": "string",
- "scheme": "string",
- "segment": "string",
- "type": "string",
- "issuer": {
- "name": "string",
- "country": "string"
}, - "force_3ds_challenge": true,
- "preferred_scheme": "visa"
}, - "open_banking": {
- "account": {
- "country": "string",
- "number": "string",
- "sort_code": "string",
- "type": "iban",
- "bank": {
- "name": "string"
}
}
}, - "revolut_pay": {
- "force_3ds_challenge": true
}
}, - "urls": {
- "hosted_forms": {
},
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "requested_on": "2019-08-24T14:15:22Z",
- "completed_on": "2019-08-24T14:15:22Z",
- "errors": [
- {
- "code": "reference_required",
- "reason": "reference must only contain letters and numbers",
- "detail": "Invalid characters: $@",
}
], - "route": {
- "id": "rou_4x3z3vjvv5ezfbxjntr5531rn8",
- "channel": {
- "id": "cha_4x3z3vjvv5ezfbxjntr5531rn8",
- "name": "string"
}, - "external_transaction_id": "string",
- "external_error_code": "string",
- "external_error_message": "string",
- "reconciliation_id": "string"
}, - "refunds": [
- {
- "id": "ref_123",
- "amount": 15,
- "status": "pending",
- "reference": "refund123",
- "requested_on": "2019-08-24T14:15:22Z",
- "external_transaction_id": "string",
- "external_error_code": "string",
- "external_error_message": "string",
- "errors": [
- {
- "code": "reference_required",
- "reason": "reference must only contain letters and numbers",
- "detail": "Invalid characters: $@",
}
]
}
], - "voids": [
- {
- "id": "voi_123",
- "status": "pending",
- "reference": "voi123",
- "requested_on": "2019-08-24T14:15:22Z"
}
], - "risk_rules": [
- {
- "id": "string",
- "conditions": [
- {
- "property": "string",
- "operator": "string",
- "values": [
- "string"
]
}
], - "type": "string"
}
], - "language": "string",
- "fraud_check": {
- "score": 0,
- "checks": {
- "pep": {
- "match": true
}, - "sanctions": {
- "match": true
}, - "watchlist": {
- "match": true
}, - "crimelist": {
- "match": true
}
}
}, - "chargeback": {
- "status": "pending",
- "requested_on": "2019-08-24T14:15:22Z",
- "completed_on": "2019-08-24T14:15:22Z",
- "amount": 0,
- "reason": "string",
- "code": "string"
}, - "aft": {
- "number": "6548123789"
}, - "credential_on_file": {
- "initiator": "customer",
- "intent": "scheduled",
- "stage": "initial",
- "initial_payment_ids": {
- "paytently": "string",
- "scheme": "string"
}
}, - "schedule": {
- "external": {
- "end_date": "2019-08-24",
- "interval": {
- "amount": 0,
- "unit": "day"
}, - "min_interval_days": 0,
- "installment_count": 0
}
}, - "external_scheme_id": "string"
}| amount | integer or null <int32> ( 0 .. 100000000 ] The refund amount in minor units. |
| reference | string [ 1 .. 32 ] characters [A-Za-z0-9_-] A reference for the refund |
{- "amount": 15,
- "reference": "refund123"
}{- "id": "ref_12345",
- "status": "pending",
- "_links": {
- "self": {
- "href": "string",
- "method": "string"
}
}, - "amount": 0,
- "currency": "string",
- "requested_on": "2019-08-24T14:15:22Z",
- "completed_on": "2019-08-24T14:15:22Z",
- "external_transaction_id": "string",
- "external_error_code": "string",
- "external_error_message": "string",
- "errors": [
- {
- "code": "reference_required",
- "reason": "reference must only contain letters and numbers",
- "detail": "Invalid characters: $@",
}
]
}| id required | string The id of the payment |
| refund_id required | string The id of the refund |
{- "id": "ref_12345",
- "status": "pending",
- "_links": {
- "self": {
- "href": "string",
- "method": "string"
}
}, - "amount": 0,
- "currency": "string",
- "requested_on": "2019-08-24T14:15:22Z",
- "completed_on": "2019-08-24T14:15:22Z",
- "external_transaction_id": "string",
- "external_error_code": "string",
- "external_error_message": "string",
- "errors": [
- {
- "code": "reference_required",
- "reason": "reference must only contain letters and numbers",
- "detail": "Invalid characters: $@",
}
]
}| reference required | string [ 1 .. 32 ] characters [A-Za-z0-9_-] A reference for the void |
{- "reference": "void123"
}{- "id": "voi_123",
- "status": "pending",
- "_links": {
- "self": {
- "href": "string",
- "method": "string"
}
}
}| x-api-version | string (System.String) |
| type required | any (Paytently.Vault.Api.Features.Common.Models.InstrumentType) Enum: "card" "network_token" |
object or null (Paytently.Vault.Api.Features.Create.Models.Card) | |
| instrument_id | string or null (System.String) |
object or null (Paytently.Vault.Api.Features.Create.Models.Customer) | |
object or null (Paytently.Vault.Api.Features.Common.Models.Urls) | |
object or null (Paytently.Vault.Api.Features.Common.Models.Initiator) | |
| entity_id | string or null (System.String) |
{- "type": "card",
- "card": {
- "number": "4242424242424242",
- "expiry_month": "12",
- "expiry_year": "27",
- "name_on_card": "Mr Joe Bloggs"
}
}{- "id": "string",
- "status": "pending"
}| id required | string (System.String) |
| x-api-version | string (System.String) |
required | object (Paytently.Vault.Api.Features.Update.Models.Card) | ||||
| |||||
{- "card": {
- "expiry_month": "12",
- "expiry_year": "27"
}
}{- "trace_id": "string",
- "errors": [
- {
- "$type": "property_error",
- "property": "string",
- "code": "string",
- "reason": "string"
}
]
}| id required | string (System.String) |
| x-api-version | string (System.String) |
{- "trace_id": "string",
- "errors": [
- {
- "$type": "property_error",
- "property": "string",
- "code": "string",
- "reason": "string"
}
]
}| id required | string (System.String) |
| x-api-version | string (System.String) |
{- "id": "ins_4qz3nc8mfa4b8721zatgm910m1",
- "type": "card",
- "status": "active",
- "card": {
- "number": "4242424242424242",
- "expiry_month": "12",
- "expiry_year": "27",
- "name_on_card": "Mr Joe Bloggs"
}, - "created_at": "2026-03-20T13:32:28.4538927+00:00",
- "updated_at": "2026-03-22T13:32:28.4538927+00:00",
- "updated_by": "kp_4vh46hvbmnh9w2q58kcqe06jc1"
}| id required | string (System.String) |
| x-api-version | string (System.String) |
{- "trace_id": "string",
- "errors": [
- {
- "$type": "property_error",
- "property": "string",
- "code": "string",
- "reason": "string"
}
]
}| id required | string (System.String) |
| x-api-version | string (System.String) |
{- "trace_id": "string",
- "errors": [
- {
- "$type": "property_error",
- "property": "string",
- "code": "string",
- "reason": "string"
}
]
}| id required | string (System.String) |
| x-api-version | string (System.String) |
{- "trace_id": "string",
- "errors": [
- {
- "$type": "property_error",
- "property": "string",
- "code": "string",
- "reason": "string"
}
]
}