Acquiring
Core money-movement endpoints — authorise, capture, settle, refund and reverse.
AVS
POST
/v1/avs/{init}
Address Verification Service check
Operation
avsVerifies the cardholder's billing address and ZIP / postal code with the issuer without charging the card. Used for risk checks prior to a payment. AVS performs an authorization which is not connected with any other transaction — it corresponds to an ISO8583 0100 message with amount 0, so no funds are blocked and no transaction is created. The amount and currency are still required (they resolve the merchant configuration and routing), but the amount forwarded to the processor is always 0. The card can be supplied as a raw PAN (card_number), as a saved card token (card), or via an init session token (from POST
/v1/init, passed as the {init} path parameter); with an init token the card, amount and currency are taken from the session. address and zip are always required — they are the values being verified. In response you will receive the raw AVS status returned by the issuer and the parsed meaning of that raw status. Authentication: HMAC (avs).Path parameters
| Name | Example | Description |
|---|---|---|
init
|
— |
Session token from POST /v1/init. Not required. When supplied, the card, amount and currency are taken from the session; address and zip must still be sent in the body. |
Request body
| Field | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
zip
|
string (0,any) required | Cardholder ZIP / postal code to be verified with the issuer. | ||||||
address
|
string (0,any) required | Cardholder billing address to be verified with the issuer. | ||||||
mpg_
|
string (0,any) | Merchant Payment Gateway ID at processor level. When a merchant has more than one MID configured, partners can route the transaction through the corresponding MID by submitting the specific value. Maximum 11 numeric characters. | ||||||
card_
|
string (0,any) | Card expiry month in MM format (01 = January, 12 = December). Required for new card (PAN) payments. Must not be sent when using saved card token. | ||||||
card_
|
string (0,any) | Card expiry year in YY format. Must be the current or a future year. Must not be expired in combination with card_expiration_month. Required for new card (PAN) payments. Must not be sent when using saved card token. | ||||||
merchant
|
string (0,any) | Merchant identifier. Required unless a configuration object is provided. | ||||||
terminal
|
string (0,any) | Terminal identifier. When not provided, resolved from the merchant default terminal. | ||||||
user
|
string (0,any) | User token in Paynetics. | ||||||
amount
|
number (0,any) required | Transaction amount in major currency units (e.g. 50.00 = fifty euros). Must be a positive number with up to 2 decimal places. | ||||||
currency
|
string (0,any) required | Transaction currency in ISO 4217 format (exactly 3 characters). Must be a supported currency. | ||||||
card
|
string (0,any) | Saved card token for returning customers. Returned from a previous /v1/init, purchase, or POST /v1/cards call. Required for saved card (token) payments. Must not be sent when using new card PAN. | ||||||
card_
|
string (0,any) | Full Primary Account Number (PAN) as printed on the card (12–19 digits, Luhn-validated). Required for new card (PAN) payments. Must not be sent when using saved card token. | ||||||
cardholder_
|
string (0,any) | Name as printed on the card (2–45 characters). Required for new card (PAN) payments. Must not be sent when using saved card token. | ||||||
cvv2
|
string (0,any) | Card security code (CVV2/CVC2/CID). Must be 3–4 digits. Pattern: [0-9]{3,4}. | ||||||
mid
|
string (0,any) | Merchant ID at processor level. When a merchant has more than one MID configured, partners can route the transaction through the corresponding MID by submitting the specific value. | ||||||
card_
|
object | Card acceptor (merchant) details. | ||||||
|
||||||||
Example request
- AVS with raw card (PAN)
- AVS with init token
- AVS with saved card token
The full PAN and card details are supplied directly in the body together with the address and ZIP to verify. No init token is used.
{
"merchant": "df1f946a-8b03-4a21-8eb7-dab86a77a027",
"amount": 50,
"currency": "EUR",
"card_number": "4111111111111111",
"cardholder_name": "John Smith",
"card_expiration_month": "09",
"card_expiration_year": "27",
"address": "123 Main St",
"zip": "1000"
}
The card, amount and currency are taken from the session created by POST /v1/init (passed as the {init} path parameter), so only the address and ZIP to verify are sent.
{
"address": "123 Main St",
"zip": "1000"
}
A saved card token (from /v1/init, a previous payment, or POST /v1/cards) is supplied instead of the raw PAN. No init token is used, so the amount and currency travel in the body.
{
"merchant": "df1f946a-8b03-4a21-8eb7-dab86a77a027",
"amount": 50,
"currency": "EUR",
"card": "c6ff4cec-e9e8-4ff3-830b-6d282e08b5db",
"address": "123 Main St",
"zip": "1000"
}
Response
| Field | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code
|
integer (0,any) | Result code. 0 = success. | ||||||||||||
data
|
object | |||||||||||||
|
||||||||||||||
Example response
{
"code": 0,
"data": {
"raw": "5F",
"authorization_entity": "Issuer",
"result_code": "Exact Match"
}
}
Capture
POST
/v1/capture/{transaction}
Operation
capturePath parameters
| Name | Example | Description |
|---|---|---|
transaction
|
— |
Initial Pre Authorization Transaction Token |
Request body
| Field | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
amount
|
number (0,any) | |||||||||||||||||||||||||
reference
|
string (0,any) | |||||||||||||||||||||||||
reference2
|
string (0,any) | |||||||||||||||||||||||||
sca_
|
string (0,any) | |||||||||||||||||||||||||
delivery_
|
object | |||||||||||||||||||||||||
|
||||||||||||||||||||||||||
client_
|
object | |||||||||||||||||||||||||
|
||||||||||||||||||||||||||
partner_
|
object | |||||||||||||||||||||||||
|
||||||||||||||||||||||||||
market_
|
object | |||||||||||||||||||||||||
|
||||||||||||||||||||||||||
additional_
|
object | |||||||||||||||||||||||||
|
||||||||||||||||||||||||||
mpg_
|
string (0,any) | |||||||||||||||||||||||||
Example request
{
"amount": "number",
"reference": "string",
"reference2": "string",
"sca_exemption": "string",
"delivery_details": {
"delivery_name": "John Doe",
"delivery_street_name": "James Bourchier 76A",
"delivery_zip": "1407",
"delivery_city": "Sofia",
"delivery_country": "BG"
},
"client_fingerprint": {
"location_finger_print": "",
"ip_address": "127.0.0.1",
"geo_location": "42.6977,23.3219",
"device_type": "02",
"operating_type_and_version": "WI11",
"browser_type_and_version": "CH88",
"email": "john@example.com"
},
"partner_data": {
"payment_facilitator_id": "string",
"independent_sales_organization_id": "00001111222",
"sub_merchant_id": "string"
},
"market_specific_extensions": {
"mcc": "0000"
},
"additional_clearing_data": {
"merchant_street": "James Bourchier",
"merchant_postcode": "ABCDE12345"
},
"mpg_id": "string"
}
Response
| Field | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code
|
integer (0,any) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data
|
object required | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example response
{
"code": "integer",
"data": {
"card_number": "400552XXXXXX0123",
"processing_code": "000000",
"amount": 200,
"stan": "748868",
"local_time": "114556",
"local_date": "0325",
"auth_code": "007680",
"response_code": "00",
"card_acceptor_terminal_id": "12345678",
"card_acceptor_identification_code": "PAYNETICS0001",
"currency": "978",
"transaction": "d428a647-12db-43f9-900c-c5f0779beb67",
"external_transaction_id": "032511455501007488680123608411748868",
"error_details": "Do not honour",
"cvv_status": "M",
"avs_status": "5F",
"ccti_id": "string",
"transaction_stamp": "120312472701006",
"retrieval_reference_number": "608411748868",
"tlid": "string",
"card": "c6ff4cec-e9e8-4ff3-830b-6d282e08b5db",
"original_network_response_code": "00",
"action_code": "000",
"order": "string"
}
}
Purchase
POST
/v1/purchase/{init}
Operation
purchasePath parameters
| Name | Example | Description |
|---|---|---|
init
|
— |
Token returned from /v1/init. Not required |
Request body
| Field | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
reference2
|
string (0,any) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
industry_
|
string (0,any) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
moto
|
boolean | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
zip
|
string (0,any) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
address
|
string (0,any) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
balance
|
string (0,any) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
fee
|
number (0,any) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
financial_
|
object contains required | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
client_
|
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
delivery_
|
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sca_
|
string (0,any) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
wallet_
|
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
aft
|
object contains required | Visa Account Funding Transaction (AFT) data. Send this object when initiating an AFT (wallet top-up, P2P funding, prepaid reload, A2A transfer) where the cardholder funds an account belonging to themselves. Conditional fields inside this object depend on whether the transaction is domestic or cross-border, and on country-specific rules (Canada, US, Australia). See AftDto schema for field-level rules. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
partner_
|
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
market_
|
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
additional_
|
object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
mpg_
|
string (0,any) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
card_
|
string (0,any) | Card expiry month in MM format (01 = January, 12 = December). Required for new card (PAN) payments. Must not be sent when using saved card token. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
card_
|
string (0,any) | Card expiry year in YY format. Must be the current or a future year. Must not be expired in combination with card_expiration_month. Required for new card (PAN) payments. Must not be sent when using saved card token. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
merchant
|
string (0,any) | Merchant identifier. Required unless a configuration object is provided. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
terminal
|
string (0,any) | Terminal identifier. When not provided, resolved from the merchant default terminal. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
user
|
string (0,any) | User token in Paynetics. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
amount
|
number (0,any) required | Transaction amount in major currency units (e.g. 50.00 = fifty euros). Must be a positive number with up to 2 decimal places. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
currency
|
string (0,any) required | Transaction currency in ISO 4217 format (exactly 3 characters). Must be a supported currency. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
card
|
string (0,any) | Saved card token for returning customers. Returned from a previous /v1/init, purchase, or POST /v1/cards call. Required for saved card (token) payments. Must not be sent when using new card PAN. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
card_
|
string (0,any) | Full Primary Account Number (PAN) as printed on the card (12–19 digits, Luhn-validated). Required for new card (PAN) payments. Must not be sent when using saved card token. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
reference
|
string (0,any) | Partner reference for the transaction, returned in the transaction details and reporting. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
cardholder_
|
string (0,any) | Name as printed on the card (2–45 characters). Required for new card (PAN) payments. Must not be sent when using saved card token. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
cvv2
|
string (0,any) | Card security code (CVV2/CVC2/CID). Must be 3–4 digits. Pattern: [0-9]{3,4}. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
mid
|
string (0,any) | Merchant ID at processor level. When a merchant has more than one MID configured, partners can route the transaction through the corresponding MID by submitting the specific value. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
card_
|
object | Card acceptor (merchant) details. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
xid
|
string (0,any) | 3-D Secure transaction identifier (XID), taken from the Secure 3D result. Exactly 28 characters. Required together with cavv for 3DS v1 transactions; not used for 3DS v2. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
cavv
|
string (0,any) | Cardholder Authentication Verification Value returned by the Secure 3D result. Exactly 28 characters. Send it to submit the transaction as 3-D Secure authenticated; eci and version must be sent with it. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
version
|
integer (0,any) | 3-D Secure protocol version from the Secure 3D result: 1 or 2. Required when cavv is sent. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
directory_
|
string (0,any) | 3-D Secure Directory Server transaction ID from the Secure 3D result. Exactly 36 characters. Required together with cavv for 3DS v2 transactions. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
resolution
|
string (0,any) | 3-D Secure resolution as returned by the Secure 3D authentication result: proceed, reject, proceed_ssl, proceed_3ds or proceed_3ds_attempted. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
eci
|
string (0,any) | Electronic Commerce Indicator from the Secure 3D result. Allowed values: 00, 01, 02, 05, 06, 07 (Visa uses 05/06, Mastercard uses 02/01). Required when cavv is sent. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
recurring_
|
integer (0,any) | Recurring / credential-on-file classification. 0 - non-recurring (default); 1 - recurring initial; 2 - recurring subsequent; 3 - credential-on-file initial; 4 - credential-on-file subsequent; 5 - unscheduled credential-on-file payment. Initial transactions (1, 3) must be 3-D Secure authenticated when the instance requires 3DS. Subsequent transactions (2, 4, 5) are 3DS-exempt and must reference the initial one through initial_transaction, or through transaction_stamp and settlement_date. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
initial_
|
string (0,any) | Transaction token of the initial recurring / credential-on-file transaction processed in Paynetics. Required for subsequent transactions (recurring_type 2, 4, 5) unless transaction_stamp and settlement_date are sent instead. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
transaction_
|
string (0,any) | Reference to an initial transaction processed outside Paynetics, used instead of initial_transaction for subsequent transactions (recurring_type 2, 4, 5). Must be sent together with settlement_date. Accepted only for instances configured with allow_custom_transaction_stamp. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
settlement_
|
string (0,any) | Settlement date of the initial transaction referenced by transaction_stamp, in MMDD format. Must be sent together with transaction_stamp. Accepted only for instances configured with allow_custom_transaction_stamp. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example request
{
"reference2": "string",
"industry_specific_transaction": "string",
"moto": "boolean",
"zip": "string",
"address": "string",
"balance": "string",
"fee": "number",
"financial_institution_service_data": {
"date_of_birth": "2021-12-12",
"postal_code": "1407",
"surname": "Smith"
},
"client_fingerprint": {
"location_finger_print": "",
"ip_address": "127.0.0.1",
"geo_location": "42.6977,23.3219",
"device_type": "02",
"operating_type_and_version": "WI11",
"browser_type_and_version": "CH88",
"email": "john@example.com"
},
"delivery_details": {
"delivery_name": "John Doe",
"delivery_street_name": "James Bourchier 76A",
"delivery_zip": "1407",
"delivery_city": "Sofia",
"delivery_country": "BG"
},
"sca_exemption": "string",
"wallet_payment": {
"wallet_identifier": "apple-pay",
"digital_payment_cryptogram": "AAABAmkAAAAAAASwhAJHdQAAAAA=",
"remote_commerce_acceptor_identifier": "MERCHANT-ACCEPTOR-12345"
},
"aft": {
"account_owner_address1": "James Bourchier 76A",
"account_owner_address2": "James Bourchier 76A",
"account_owner_street": "James Bourchier",
"account_owner_postal_code": "1407",
"account_owner_city": "Sofia",
"account_owner_country": "BGR",
"merchant_postal_code": "1407",
"merchant_state": "SOF",
"acceptor_legal_name": "Paynetics AD",
"sender_address": "James Bourchier 76A",
"sender_city": "Sofia",
"sender_state": "SF",
"sender_country": "BGR",
"sender_name": "John Doe",
"sender_account_number": "BG80BNBG96611020345678",
"recipient_name": "John Doe",
"bai": "TU",
"account_owner_subdivision_code": "ON",
"mvv": "13456ABCD"
},
"partner_data": {
"independent_sales_organization_id": "00001111222"
},
"market_specific_extensions": {
"mcc": "0000"
},
"additional_clearing_data": {
"merchant_street": "James Bourchier",
"merchant_postcode": "ABCDE12345"
},
"mpg_id": "string",
"card_expiration_month": "09",
"card_expiration_year": "27",
"merchant": "df1f946a-8b03-4a21-8eb7-dab86a77a027",
"terminal": "df1f946a-8b03-4a21-8eb7-dab86a77a027",
"user": "df1f946a-8b03-4a21-8eb7-dab86a77a027",
"amount": 50,
"currency": "EUR",
"card": "df1f946a-8b03-4a21-8eb7-dab86a77a027",
"card_number": "4111111111111111",
"reference": "ORDER-2026-001",
"cardholder_name": "John Smith",
"cvv2": "123",
"mid": "123456789",
"card_acceptor": {
"name": "Partner Shop Ltd"
},
"xid": "AAABAmkAAAAAAASwhAJHdQAAAAA=",
"cavv": "AAABAmkAAAAAAASwhAJHdQAAAAA=",
"version": 2,
"directory_transaction_id": "48df129e-3795-412b-ab2f-bffbb12bb00b",
"resolution": "proceed_3ds",
"eci": "05",
"recurring_type": 0,
"initial_transaction": "db68c6f5-0cab-4113-9c18-a9f2a6584b02",
"transaction_stamp": "120312472701006",
"settlement_date": "0609"
}
Response
| Field | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code
|
integer (0,any) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data
|
object required | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example response
{
"code": "integer",
"data": {
"card_number": "400552XXXXXX0123",
"processing_code": "000000",
"amount": 200,
"stan": "748868",
"local_time": "114556",
"local_date": "0325",
"auth_code": "007680",
"response_code": "00",
"card_acceptor_terminal_id": "12345678",
"card_acceptor_identification_code": "PAYNETICS0001",
"currency": "978",
"transaction": "d428a647-12db-43f9-900c-c5f0779beb67",
"external_transaction_id": "032511455501007488680123608411748868",
"error_details": "Do not honour",
"cvv_status": "M",
"avs_status": "5F",
"ccti_id": "string",
"transaction_stamp": "120312472701006",
"retrieval_reference_number": "608411748868",
"tlid": "string",
"card": "c6ff4cec-e9e8-4ff3-830b-6d282e08b5db",
"original_network_response_code": "00",
"action_code": "000",
"order": "string"
}
}
Credit
POST
/v1/credit/{init}
Operation
creditPath parameters
| Name | Example | Description |
|---|---|---|
init
|
— |
Token returned from /v1/init. Not required |
Request body
| Field | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
reference2
|
string (0,any) | |||||||
mpg_
|
string (0,any) | |||||||
card_
|
string (0,any) | Card expiry month in MM format (01 = January, 12 = December). Required for new card (PAN) payments. Must not be sent when using saved card token. | ||||||
card_
|
string (0,any) | Card expiry year in YY format. Must be the current or a future year. Must not be expired in combination with card_expiration_month. Required for new card (PAN) payments. Must not be sent when using saved card token. | ||||||
merchant
|
string (0,any) | Merchant identifier. Required unless a configuration object is provided. | ||||||
terminal
|
string (0,any) | Terminal identifier. When not provided, resolved from the merchant default terminal. | ||||||
user
|
string (0,any) | User token in Paynetics. | ||||||
amount
|
number (0,any) required | Transaction amount in major currency units (e.g. 50.00 = fifty euros). Must be a positive number with up to 2 decimal places. | ||||||
currency
|
string (0,any) required | Transaction currency in ISO 4217 format (exactly 3 characters). Must be a supported currency. | ||||||
card
|
string (0,any) | Saved card token for returning customers. Returned from a previous /v1/init, purchase, or POST /v1/cards call. Required for saved card (token) payments. Must not be sent when using new card PAN. | ||||||
card_
|
string (0,any) | Full Primary Account Number (PAN) as printed on the card (12–19 digits, Luhn-validated). Required for new card (PAN) payments. Must not be sent when using saved card token. | ||||||
reference
|
string (0,any) | Partner reference for the transaction, returned in the transaction details and reporting. | ||||||
cardholder_
|
string (0,any) | Name as printed on the card (2–45 characters). Required for new card (PAN) payments. Must not be sent when using saved card token. | ||||||
cvv2
|
string (0,any) | Card security code (CVV2/CVC2/CID). Must be 3–4 digits. Pattern: [0-9]{3,4}. | ||||||
mid
|
string (0,any) | Merchant ID at processor level. When a merchant has more than one MID configured, partners can route the transaction through the corresponding MID by submitting the specific value. | ||||||
card_
|
object | Card acceptor (merchant) details. | ||||||
|
||||||||
Example request
{
"reference2": "string",
"mpg_id": "string",
"card_expiration_month": "09",
"card_expiration_year": "27",
"merchant": "df1f946a-8b03-4a21-8eb7-dab86a77a027",
"terminal": "df1f946a-8b03-4a21-8eb7-dab86a77a027",
"user": "df1f946a-8b03-4a21-8eb7-dab86a77a027",
"amount": 50,
"currency": "EUR",
"card": "df1f946a-8b03-4a21-8eb7-dab86a77a027",
"card_number": "4111111111111111",
"reference": "ORDER-2026-001",
"cardholder_name": "John Smith",
"cvv2": "123",
"mid": "123456789",
"card_acceptor": {
"name": "Partner Shop Ltd"
}
}
Response
| Field | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code
|
integer (0,any) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data
|
object required | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example response
{
"code": "integer",
"data": {
"card_number": "400552XXXXXX0123",
"processing_code": "000000",
"amount": 200,
"stan": "748868",
"local_time": "114556",
"local_date": "0325",
"auth_code": "007680",
"response_code": "00",
"card_acceptor_terminal_id": "12345678",
"card_acceptor_identification_code": "PAYNETICS0001",
"currency": "978",
"transaction": "d428a647-12db-43f9-900c-c5f0779beb67",
"external_transaction_id": "032511455501007488680123608411748868",
"error_details": "Do not honour",
"cvv_status": "M",
"avs_status": "5F",
"ccti_id": "string",
"transaction_stamp": "120312472701006",
"retrieval_reference_number": "608411748868",
"tlid": "string",
"card": "c6ff4cec-e9e8-4ff3-830b-6d282e08b5db",
"original_network_response_code": "00",
"action_code": "000",
"order": "string"
}
}
Refund
POST
/v1/refund/{transaction}
Operation
refundPath parameters
| Name | Example | Description |
|---|---|---|
transaction
|
— |
Token from initial transaction |
Request body
| Field | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
amount
|
number (0,any) required | |||||||||||||
reference
|
string (0,30) | |||||||||||||
partner_
|
object | |||||||||||||
|
||||||||||||||
Example request
{
"amount": "number",
"reference": "string",
"partner_data": {
"payment_facilitator_id": "string",
"independent_sales_organization_id": "00001111222",
"sub_merchant_id": "string"
}
}
Response
| Field | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code
|
integer (0,any) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data
|
object required | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example response
{
"code": "integer",
"data": {
"card_number": "400552XXXXXX0123",
"processing_code": "000000",
"amount": 200,
"stan": "748868",
"local_time": "114556",
"local_date": "0325",
"auth_code": "007680",
"response_code": "00",
"card_acceptor_terminal_id": "12345678",
"card_acceptor_identification_code": "PAYNETICS0001",
"currency": "978",
"transaction": "d428a647-12db-43f9-900c-c5f0779beb67",
"external_transaction_id": "032511455501007488680123608411748868",
"error_details": "Do not honour",
"cvv_status": "M",
"avs_status": "5F",
"ccti_id": "string",
"transaction_stamp": "120312472701006",
"retrieval_reference_number": "608411748868",
"tlid": "string",
"card": "c6ff4cec-e9e8-4ff3-830b-6d282e08b5db",
"original_network_response_code": "00",
"action_code": "000",
"order": "string"
}
}
Reversal
POST
/v1/reversal/{transaction}
Operation
reversalPath parameters
| Name | Example | Description |
|---|---|---|
transaction
|
— |
Token from initial transaction |
Request body
| Field | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
reference
|
string (0,any) | ||||||||||
reference2
|
string (0,any) | ||||||||||
additional_
|
object | ||||||||||
|
|||||||||||
Example request
{
"reference": "string",
"reference2": "string",
"additional_clearing_data": {
"merchant_street": "James Bourchier",
"merchant_postcode": "ABCDE12345"
}
}
Response
| Field | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code
|
integer (0,any) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data
|
object required | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example response
{
"code": "integer",
"data": {
"card_number": "400552XXXXXX0123",
"processing_code": "000000",
"amount": 200,
"stan": "748868",
"local_time": "114556",
"local_date": "0325",
"auth_code": "007680",
"response_code": "00",
"card_acceptor_terminal_id": "12345678",
"card_acceptor_identification_code": "PAYNETICS0001",
"currency": "978",
"transaction": "d428a647-12db-43f9-900c-c5f0779beb67",
"external_transaction_id": "032511455501007488680123608411748868",
"error_details": "Do not honour",
"cvv_status": "M",
"avs_status": "5F",
"ccti_id": "string",
"transaction_stamp": "120312472701006",
"retrieval_reference_number": "608411748868",
"tlid": "string",
"card": "c6ff4cec-e9e8-4ff3-830b-6d282e08b5db",
"original_network_response_code": "00",
"action_code": "000",
"order": "string"
}
}
Reversal-refund
POST
/v1/reversal-refund/{transaction}
Operation
reversalPath parameters
| Name | Example | Description |
|---|---|---|
transaction
|
— |
Token from initial transaction |
Request body
| Field | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
reference
|
string (0,any) | ||||||||||
reference2
|
string (0,any) | ||||||||||
additional_
|
object | ||||||||||
|
|||||||||||
Example request
{
"reference": "string",
"reference2": "string",
"additional_clearing_data": {
"merchant_street": "James Bourchier",
"merchant_postcode": "ABCDE12345"
}
}
Response
| Field | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code
|
integer (0,any) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data
|
object required | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example response
{
"code": "integer",
"data": {
"card_number": "400552XXXXXX0123",
"processing_code": "000000",
"amount": 200,
"stan": "748868",
"local_time": "114556",
"local_date": "0325",
"auth_code": "007680",
"response_code": "00",
"card_acceptor_terminal_id": "12345678",
"card_acceptor_identification_code": "PAYNETICS0001",
"currency": "978",
"transaction": "d428a647-12db-43f9-900c-c5f0779beb67",
"external_transaction_id": "032511455501007488680123608411748868",
"error_details": "Do not honour",
"cvv_status": "M",
"avs_status": "5F",
"ccti_id": "string",
"transaction_stamp": "120312472701006",
"retrieval_reference_number": "608411748868",
"tlid": "string",
"card": "c6ff4cec-e9e8-4ff3-830b-6d282e08b5db",
"original_network_response_code": "00",
"action_code": "000",
"order": "string"
}
}
Reversal-credit
POST
/v1/reversal-credit/{transaction}
Operation
reversalPath parameters
| Name | Example | Description |
|---|---|---|
transaction
|
— |
Token from initial transaction |
Request body
| Field | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
reference
|
string (0,any) | ||||||||||
reference2
|
string (0,any) | ||||||||||
additional_
|
object | ||||||||||
|
|||||||||||
Example request
{
"reference": "string",
"reference2": "string",
"additional_clearing_data": {
"merchant_street": "James Bourchier",
"merchant_postcode": "ABCDE12345"
}
}
Response
| Field | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code
|
integer (0,any) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data
|
object required | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example response
{
"code": "integer",
"data": {
"card_number": "400552XXXXXX0123",
"processing_code": "000000",
"amount": 200,
"stan": "748868",
"local_time": "114556",
"local_date": "0325",
"auth_code": "007680",
"response_code": "00",
"card_acceptor_terminal_id": "12345678",
"card_acceptor_identification_code": "PAYNETICS0001",
"currency": "978",
"transaction": "d428a647-12db-43f9-900c-c5f0779beb67",
"external_transaction_id": "032511455501007488680123608411748868",
"error_details": "Do not honour",
"cvv_status": "M",
"avs_status": "5F",
"ccti_id": "string",
"transaction_stamp": "120312472701006",
"retrieval_reference_number": "608411748868",
"tlid": "string",
"card": "c6ff4cec-e9e8-4ff3-830b-6d282e08b5db",
"original_network_response_code": "00",
"action_code": "000",
"order": "string"
}
}
OCT
POST
/v1/oct/{init}
Operation
octPath parameters
| Name | Example | Description |
|---|---|---|
init
|
— |
Token returned from /v1/init. Not required |
Request body
| Field | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
card_
|
string (0,any) | |||||||
card_
|
string (0,any) | |||||||
balance
|
string (0,any) | |||||||
first_
|
string (0,any) | |||||||
last_
|
string (0,any) | |||||||
birthday
|
string (0,any) | |||||||
nationality
|
string (0,any) | |||||||
aml_
|
string (0,any) | |||||||
reference2
|
string (0,any) | |||||||
industry_
|
string (0,any) | |||||||
merchant
|
string (0,any) | Merchant identifier. Required unless a configuration object is provided. | ||||||
terminal
|
string (0,any) | Terminal identifier. When not provided, resolved from the merchant default terminal. | ||||||
user
|
string (0,any) | User token in Paynetics. | ||||||
amount
|
number (0,any) required | Transaction amount in major currency units (e.g. 50.00 = fifty euros). Must be a positive number with up to 2 decimal places. | ||||||
currency
|
string (0,any) required | Transaction currency in ISO 4217 format (exactly 3 characters). Must be a supported currency. | ||||||
card
|
string (0,any) | Saved card token for returning customers. Returned from a previous /v1/init, purchase, or POST /v1/cards call. Required for saved card (token) payments. Must not be sent when using new card PAN. | ||||||
card_
|
string (0,any) | Full Primary Account Number (PAN) as printed on the card (12–19 digits, Luhn-validated). Required for new card (PAN) payments. Must not be sent when using saved card token. | ||||||
reference
|
string (0,any) | Partner reference for the transaction, returned in the transaction details and reporting. | ||||||
cardholder_
|
string (0,any) | Name as printed on the card (2–45 characters). Required for new card (PAN) payments. Must not be sent when using saved card token. | ||||||
cvv2
|
string (0,any) | Card security code (CVV2/CVC2/CID). Must be 3–4 digits. Pattern: [0-9]{3,4}. | ||||||
mid
|
string (0,any) | Merchant ID at processor level. When a merchant has more than one MID configured, partners can route the transaction through the corresponding MID by submitting the specific value. | ||||||
card_
|
object | Card acceptor (merchant) details. | ||||||
|
||||||||
Example request
{
"card_expiration_month": "string",
"card_expiration_year": "string",
"balance": "string",
"first_name": "string",
"last_name": "string",
"birthday": "string",
"nationality": "string",
"aml_check": "string",
"reference2": "string",
"industry_specific_transaction": "string",
"merchant": "df1f946a-8b03-4a21-8eb7-dab86a77a027",
"terminal": "df1f946a-8b03-4a21-8eb7-dab86a77a027",
"user": "df1f946a-8b03-4a21-8eb7-dab86a77a027",
"amount": 50,
"currency": "EUR",
"card": "df1f946a-8b03-4a21-8eb7-dab86a77a027",
"card_number": "4111111111111111",
"reference": "ORDER-2026-001",
"cardholder_name": "John Smith",
"cvv2": "123",
"mid": "123456789",
"card_acceptor": {
"name": "Partner Shop Ltd"
}
}
Response
| Field | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code
|
integer (0,any) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
data
|
object required | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example response
{
"code": "integer",
"data": {
"card_number": "400552XXXXXX0123",
"processing_code": "000000",
"amount": 200,
"stan": "748868",
"local_time": "114556",
"local_date": "0325",
"auth_code": "007680",
"response_code": "00",
"card_acceptor_terminal_id": "12345678",
"card_acceptor_identification_code": "PAYNETICS0001",
"currency": "978",
"transaction": "d428a647-12db-43f9-900c-c5f0779beb67",
"external_transaction_id": "032511455501007488680123608411748868",
"error_details": "Do not honour",
"cvv_status": "M",
"avs_status": "5F",
"ccti_id": "string",
"transaction_stamp": "120312472701006",
"retrieval_reference_number": "608411748868",
"tlid": "string",
"card": "c6ff4cec-e9e8-4ff3-830b-6d282e08b5db",
"original_network_response_code": "00",
"action_code": "000",
"order": "string"
}
}