Skip to main content
POST

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

API support various types of use. Required fields are defined by the most basic call. For other uses be sure to send the required information defined in the schema and examples.

subMerchantId
string
required

Unique identifier of the submerchant.

amount
number
required

The amount to authorize.

paymentToken
object
required

The payment credential to charge: a one-time token from the web component or a stored Jupico token.

cardHolderInitiated
boolean
required

True when the cardholder actively initiates the payment; false for merchant-initiated transactions such as recurring charges.

description
string

Free-text description of the transaction.

taxAmount
number

The total amount of sales tax must be between: Visa percentage: 0.1% - 18% MasterCard percentage: 0.1% - 23% Default percentage: 0.1% - 50%

cvv
string

Card verification code (CVV/CVC).

referenceId
string

Your own reference for this transaction. Returned in responses and query results for reconciliation.

billing
object

Billing contact and address details for the payer.

shipping
object

Shipping contact and address details for the order.

metadata
object

metadata is an object that can host as much as 50 key-value pairs, where the keys can be at most 40 char length and can’t include the characters “[“ or “]”, and the values must be strings and cannot exceed 500 chars Learn more about metadata

billingDescriptor
object

Overrides the descriptor that appears on the cardholder's statement.

Response

200 - application/json

Successful authorization

data
object

The response payload.

success
boolean

Whether the request was processed successfully. Declines return HTTP 200 with success: false.

message
string

Human-readable result message.

code
string

Machine-readable result code. See the Error Codes reference.

Last modified on July 14, 2026