Acquiring

Core money-movement endpoints — authorise, capture, settle, refund and reverse.

AVS

POST /v1/avs/{init}

Address Verification Service check

Operation avs
Verifies 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

NameExampleDescription
init
string required
— 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_id 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_expiration_month 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_expiration_year 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_number 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_name 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.

Example request

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"
}

Response

Field Type Description
code integer (0,any) Result code. 0 = success.

Example response

{
    "code": 0,
    "data": {
        "raw": "5F",
        "authorization_entity": "Issuer",
        "result_code": "Exact Match"
    }
}

Pre-authorization

POST /v1/pre-authorization/{init}

Reserve funds on a card (pre-authorization)

Operation pre_authorization
Pre-authorization blocks (reserves) an amount on the cardholder account without capturing it. This corresponds to an ISO8583 0100 message with processing code 000000. In response you will receive a transaction token in data.transaction, which must be used to settle the hold via POST/v1/capture/{transaction} or to release it via POST/v1/reversal/{transaction}. A transaction is approved when data.response_code is 00, 10 or 85: 00 = approved, 10 = partial approval (the authorized amount is returned in data.amount and is lower than the requested amount), 85 = no reason to decline. All other codes are declines and their meaning is listed in the AcquiringResponse model below. Card data, amount and currency are taken from the {init} session token when it is supplied, otherwise they are sent in the request body. The endpoint supports 3-D Secure (cavv, eci, version, directory_transaction_id from the Secure 3D result), recurring and credential-on-file classification (recurring_type), Visa AFT / Mastercard Funding, tokenized transactions (Visa TCOF / Mastercard SCOF), digital wallets and MOTO. When the instance is configured to require 3-D Secure, a transaction without cavv is rejected unless it is a MOTO transaction, a subsequent recurring / credential-on-file transaction, or carries an sca_exemption. Authentication: HMAC (pre_authorization).

Path parameters

NameExampleDescription
init
string required
— Session token from POST /v1/init. Not required. When supplied, the card, amount and currency are taken from the session and are not sent in the body.

Request body

Field Type Description
reference2 string (0,any) Extended partner reference, forwarded to the processor next to reference.
industry_specific_transaction string (0,any) Industry specific transaction indicator. Only 06 is accepted — used for crypto merchants (MCC 6051), together with aft.bai = LA.
06
zip string (0,any) Cardholder ZIP / postal code, submitted to the issuer for address verification (AVS).
address string (0,any) Cardholder billing address, submitted to the issuer for address verification (AVS).
moto boolean Mail Order / Telephone Order transaction. MOTO transactions are exempt from the 3-D Secure requirement.
sca_exemption string (0,any) Strong Customer Authentication exemption indicator. Only low-value is accepted. Allows a non-3DS transaction when the instance otherwise requires 3-D Secure.
mpg_id 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. Resolved for Mastercard transactions from the instance configuration when not supplied.
card_expiration_month 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_expiration_year 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_number 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_name 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.
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_transaction_id 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_type 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_transaction 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_stamp 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_date 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

The card, amount and currency are taken from the session created by POST /v1/init (passed as the {init} path parameter). Only the 3-D Secure data of the transaction is sent in the body.

{
    "version": 2,
    "cavv": "AAABAmkAAAAAAASwhAJHdQAAAAA=",
    "eci": "05",
    "directory_transaction_id": "48df129e-3795-412b-ab2f-bffbb12bb00b"
}

Response

Field Type Description
code integer (0,any)

Example response

The issuer approved the pre-authorization. data.transaction is used for the subsequent capture or reversal.

{
    "code": 0,
    "data": {
        "response_code": "00",
        "auth_code": "007680",
        "transaction": "d428a647-12db-43f9-900c-c5f0779beb67",
        "external_transaction_id": "032511455501007488680123608411748868",
        "retrieval_reference_number": "608411748868",
        "stan": "748868",
        "amount": 200,
        "currency": "978",
        "card_number": "400552XXXXXX0123",
        "card": "c6ff4cec-e9e8-4ff3-830b-6d282e08b5db",
        "processing_code": "000000",
        "local_date": "0325",
        "local_time": "114556",
        "avs_status": "5F",
        "cvv_status": "M",
        "card_acceptor_terminal_id": "12345678",
        "card_acceptor_identification_code": "PAYNETICS0001",
        "original_network_response_code": "00",
        "action_code": "000"
    }
}

Capture

POST /v1/capture/{transaction}
Operation capture

Path parameters

NameExampleDescription
transaction
string required
— Initial Pre Authorization Transaction Token

Request body

Field Type Description
amount number (0,any)
reference string (0,any)
reference2 string (0,any)
sca_exemption string (0,any)
low-value
mpg_id 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)

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 purchase

Path parameters

NameExampleDescription
init
string required
— Token returned from /v1/init. Not required

Request body

Field Type Description
reference2 string (0,any)
industry_specific_transaction string (0,any)
06
moto boolean
zip string (0,any)
address string (0,any)
balance string (0,any)
fee number (0,any)
sca_exemption string (0,any)
mpg_id string (0,any)
card_expiration_month 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_expiration_year 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_number 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_name 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.
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_transaction_id 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_type 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_transaction 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_stamp 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_date 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)

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 credit

Path parameters

NameExampleDescription
init
string required
— Token returned from /v1/init. Not required

Request body

Field Type Description
reference2 string (0,any)
mpg_id string (0,any)
card_expiration_month 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_expiration_year 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_number 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_name 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.

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)

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 refund

Path parameters

NameExampleDescription
transaction
string required
— Token from initial transaction

Request body

Field Type Description
amount number (0,any) required
reference string (0,30)

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)

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 reversal

Path parameters

NameExampleDescription
transaction
string required
— Token from initial transaction

Request body

Field Type Description
reference string (0,any)
reference2 string (0,any)

Example request

{
    "reference": "string",
    "reference2": "string",
    "additional_clearing_data": {
        "merchant_street": "James Bourchier",
        "merchant_postcode": "ABCDE12345"
    }
}

Response

Field Type Description
code integer (0,any)

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 reversal

Path parameters

NameExampleDescription
transaction
string required
— Token from initial transaction

Request body

Field Type Description
reference string (0,any)
reference2 string (0,any)

Example request

{
    "reference": "string",
    "reference2": "string",
    "additional_clearing_data": {
        "merchant_street": "James Bourchier",
        "merchant_postcode": "ABCDE12345"
    }
}

Response

Field Type Description
code integer (0,any)

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 reversal

Path parameters

NameExampleDescription
transaction
string required
— Token from initial transaction

Request body

Field Type Description
reference string (0,any)
reference2 string (0,any)

Example request

{
    "reference": "string",
    "reference2": "string",
    "additional_clearing_data": {
        "merchant_street": "James Bourchier",
        "merchant_postcode": "ABCDE12345"
    }
}

Response

Field Type Description
code integer (0,any)

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 oct

Path parameters

NameExampleDescription
init
string required
— Token returned from /v1/init. Not required

Request body

Field Type Description
card_expiration_month string (0,any)
card_expiration_year string (0,any)
balance string (0,any)
first_name string (0,any)
last_name string (0,any)
birthday string (0,any)
nationality string (0,any)
aml_check string (0,any)
matchno-match
reference2 string (0,any)
industry_specific_transaction string (0,any)
ADPWGC
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_number 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_name 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.

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)

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"
    }
}
esc
↑↓ navigate ↵ open esc close
Copied