Create Payment
This request creates a payment after you created a checkout session.
Important
Although certain objects are not mandatory when creating a Payment, the user’s payment experience can be enhanced if you provide this information.
3DS Payments
Check the 3D Secure page to learn how to create payments using 3DS on WHITELABEL.
To authorize a payment without capturing it immediately (the client is not charged), send capture: false inside the payment method detail, under the object that matches the payment method type: payment_method.detail.card.capture for cards and payment_method.detail.wallet.capture for wallets that support authorization (for example PayPal with a vaulted billing agreement). WHITELABEL only reads the flag under the object that matches the payment method type, so capture: false under card is ignored on a wallet payment and the payment is captured right away.
If you want to process payments in a Single Step (Authorization and Capture simultaneously), send capture as true under that same object.
To test all possible transaction outcomes within WHITELABEL in Sandbox, refer to the test data documentation.
Metadata and routing logic
If you use metadata to drive routing logic, it must also be set in the Checkout Session. Filling it only in the Payment object will not activate route logic.
vaulted_token overrides device fingerprint
If payment_method.vaulted_token is provided alongside payment_method.token, the vaulted_token replaces all payment data, including the device fingerprint (third_party_session_id). If you need fraud screening with a device fingerprint, do not send both fields together.
For Two-Step payments (Authorization then Capture), send capture as false as described above, then use the Capture Authorization endpoint.
This request requires an X-Idempotency-Key. See Authentication for details.
/paymentsHeader Parameters
Unique identifier used in HTTP headers to ensure that a request is processed only once, even if it is retried due to network issues or timeouts.
Body application/json
The unique identifier of the account. You find this information on the WHITELABEL dashboard (UUID, 36 chars).
The unique identifier of the customer’s order (MAX 255; MIN 3).
The description of the payment (MAX 255; MIN 3).
Specifies the payment amount object, with the value and currency.
Show amount properties
The currency used to make the payment. For a full list of currency codes, see Country reference (MAX 3; MIN 3; ISO 4217).
The payment amount (multiple of 0.0001).
The currency conversion (DCC) object. Used when the cardholder pays in their home currency at the point of sale while the merchant settles in their own. cardholder_currency must differ from amount.currency.
Show currency_conversion properties
The unique identifier of the conversion rate query from WHITELABEL. (UUID, 36 chars)
The unique identifier of the conversion rate query from the provider (MAX 526 ; MIN 3)
Currency the cardholder is charged in. ISO 4217 alpha-3 code. Must differ from amount.currency. This field is required if the ‘currency_conversion’ object is included in the request.
Total amount billed to the cardholder in cardholder_currency (multiple of 0.0001). Range: 0.0001 – 9,999,999,999. This field is required if the ‘currency_conversion’ object is included in the request.
Cardholder’s explicit consent to the DCC offer. true = accepted (charge in cardholder_currency); false = declined (payment proceeds in merchant currency).
Additional data from the provider
Show provider_data properties
Identification of the provider
Applied FX rate (markup included). Must be greater than 0.
Markup added over the wholesale rate, expressed as a percentage. Range: 0 – 100.
Wholesale benchmark used for the quote. Required when rate_margin_percentage > 0. Free text, max 50 chars. Examples: ECB, REUTERS, BLOOMBERG, PROVIDER_INTERNAL.
DCC provider that issued the quote.
Verbatim disclosure text shown to the cardholder at the point of sale. Stored unchanged for audit. Max 4096 chars.
Timestamp when the DCC provider issued the quote (ISO 8601). Must be ≤ now().
Timestamp when the quote expires (ISO 8601). Must be > created_at. The payment is rejected if expires_at < now() at validation time.
Specifies the order’s tax object.
Show taxes properties
Type of the tax.
The amount base to apply the tax defined.
The amount of the tax.
The percentage of the tax.
Specifies the checkout object. This object is not mandatory for back to back payments. Required when workflow is defined as SDK_CHECKOUT or is not sent. not required for DIRECT or REDIRECT payments.
Show checkout properties
The checkout session that has been created for the payment using the Create Checkout Session endpoint (UUID, 36 chars). This field is required if the checkout object is included in the request.
Specifies the additional_data object. This object is not mandatory. However, if you send this information, the payment experience will be enhanced for your user.
Show additional_data properties
Specifies the order object.
Show order properties
The shipping amount of the order (multiple of 0.0001). This field is for informational purposes, the shipping amount is already included in the final transaction amount and is not added separately.
The fee amount of the order (multiple of 0.0001). This field is for informational purposes, the fee amount is already included in the final transaction amount and is not added separately.
The tip amount of the order (multiple of 0.0001). This field is for informational purposes, the tip amount is already included in the final transaction amount and is not added separately.
The taxes of the order. This struct is for informational purposes, the taxes amount is already included in the final transaction amount and is not added separately.
Show taxes properties
Type of the tax.
The amount base to apply the tax defined.
The amount of the tax.
The percentage of the tax.
Specifies the items array of object.
Show items properties
The unique identifier of the item (MAX 255; MIN 3).
The name of the item (MAX 255; MIN 3).
The quantity of the item.
The unit amount of the item (multiple of 0.0001).
The category of the item. Check the Item category reference.
The brand of the item (MAX 255; MIN 3).
The stock keeping unit (SKU) of the item (MAX 255; MIN 3).
The manufacture part number of the item.
The item’s URL available to the buyer (MAX 512; MIN 3).
URL of the product image. Complements the existing url field, which points to the product page (MAX 512; MIN 3).
The shipping details object
Show shipping properties
The type of shippment
The shipment description
Carrier used for the delivery
Estimated date of delivery (ISO 8601 MAX 27; MIN 27)
The tickets detail object
Show tickets properties
Id of the ticket (Min: 1, max:255)
Name of the ticket (Min: 1, max:255)
Description of the ticket (Min: 1, max:255)
Type of the ticket
Amount of the ticket
Show amount properties
Amount of the payment
The currency used to make the payment (ISO 4217 MAX 3; MIN 3)
The event information
Show event properties
Id of the event related to the ticket
Name of the event
Description of the event
Type of the event
Date of the event
Address of the event
Show address properties
The primary billing address line (MAX 255; MIN 3)
The secondary billing address line (MAX 255; MIN 3)
The primary building number of the customer (MAX 255; MIN 3)
The secondary building number of the customer (MAX 255; MIN 3)
The city considered for the address (MAX 255; MIN 3)
The country consider for the address (ISO 3166-1 MAX 2; MIN 2)
The state / province considered for the address (MAX 255; MIN 3)
The zipcode considered for the address (MAX 11; MIN 4)
The neighborhood address line (MAX 255; MIN 3)
The account funding transaction details object necessary for AFTs.
Show account_funding properties
The type of account funding operation. Accepted by the API but not yet read by any provider integration.
The sender object necessary for account funding transactions
Show sender properties
Sender’s name. (Max: 80)
Sender’s last name. (Max: 80)
Sender’s national entity type.
Sender’s name. (Max: 80) Only necessary when national entity is ENTITY
The Sender’s email (MAX 255; MIN 3)
The Sender’s country (ISO 3166-1 MAX 2; MIN 2)
The beneficiary’s date of birth in the YYYY-MM-DD (MAX 10; MIN 10)
Sender’s document object
Show document properties
Document number for customer (MAX 40; MIN 3). This field is required if the ‘document’ object is included in the request.
The customer’s document type (MAX 6, MIN 2; Country reference).
Sender’s phone object
Show phone properties
The country calling code of the customer’s phone (MAX 3; MIN 1). Check the Country reference to see the phone codes. This field is required if the ‘phone’ object is included in the request.
The customer’s phone number, without the country code (MAX 32; MIN 1). This field is required if the ‘phone’ object is included in the request.
Sender’s address object
Show address properties
The primary billing address line of the customer (MAX 255; MIN 1). This field is required if the ‘billing_address’ object is included in the request.
The secondary billing address line of the customer (MAX 255; MIN 1).
The primary building number of the customer (MAX 255; MIN 3)
The secondary building number of the customer (MAX 255; MIN 3)
The city considered for the billing address (MAX 255; MIN 1). This field is required if the ‘billing_address’ object is included in the request.
The country considered for the billing address (MAX 2; MIN 2; ISO 3166-1). This field is required if the ‘billing_address’ object is included in the request.
State or province code. Use ISO 3166-2 subdivision codes (https://en.wikipedia.org/wiki/ISO_3166-2).
The zipcode considered for the billing address (MAX 11; MIN 3).
The neighborhood of the address line of the customer(MAX 255; MIN 1)
The beneficiary object necessary for account funding transactions.
Show beneficiary properties
Beneficiary’s name. (Max: 80)
Beneficiary’s last name. (Max: 80)
Beneficiary’s national entity type.
Beneficiary’s name. (Max: 80) Only necessary when national entity is ENTITY
The Beneficiary’s email (MAX 255; MIN 3)
The Beneficiary’s country (ISO 3166-1 MAX 2; MIN 2)
The beneficiary’s account identifier inside the wallet (MAX 255).
The beneficiary’s date of birth in the YYYY-MM-DD (MAX 10; MIN 10)
The beneficiary’s document object.
Show document properties
Document number for customer (MAX 40; MIN 3). This field is required if the ‘document’ object is included in the request.
The customer’s document type (MAX 6, MIN 2; Country reference).
The beneficiary’s phone object.
Show phone properties
The country calling code of the customer’s phone (MAX 3; MIN 1). Check the Country reference to see the phone codes. This field is required if the ‘phone’ object is included in the request.
The customer’s phone number, without the country code (MAX 32; MIN 1). This field is required if the ‘phone’ object is included in the request.
The beneficiary’s address object.
Show address properties
The primary billing address line of the customer (MAX 255; MIN 1). This field is required if the ‘billing_address’ object is included in the request.
The secondary billing address line of the customer (MAX 255; MIN 1).
The primary building number of the customer (MAX 255; MIN 3)
The secondary building number of the customer (MAX 255; MIN 3)
The city considered for the billing address (MAX 255; MIN 1). This field is required if the ‘billing_address’ object is included in the request.
The country considered for the billing address (MAX 2; MIN 2; ISO 3166-1). This field is required if the ‘billing_address’ object is included in the request.
State or province code. Use ISO 3166-2 subdivision codes (https://en.wikipedia.org/wiki/ISO_3166-2).
The zipcode considered for the billing address (MAX 11; MIN 3).
The neighborhood of the address line of the customer(MAX 255; MIN 1)
Specifies the discounts array of objects.
Show discounts properties
ID of the discount (MAX 255; MIN 1).
Name of the discount (MAX 255; MIN 1).
The unit amount of the discount (multiple of 0.0001).
Sales channel id of the payment. (MIN:3 y MAX:255)
Specifies the airline object.
Show airline properties
Passenger name record (MAX 10; MIN 1).
Type of trip.
Specifies the legs object.
Show legs properties
Reference to passenger ID (MAX 128; MIN 1).
IATA code. See http://www.iata.org (MAX 3; MIN 3).
The departure date and time in UTC time (ISO 8601, MAX 27; MIN 27).
Country of the departure airport (MAX 2; MIN 2; ISO 3166-1).
The city considered for the departure airport (MAX 255; MIN 3).
Airport timezone (MAX 6; MIN 6).
IATA airport code. See http://www.iata.org (MAX 3; MIN 3).
Country of the arrival airport (MAX 2; MIN 2; ISO 3166-1).
The city considered for the arrival airport (MAX 255; MIN 3).
Airport timezone (MAX 6; MIN 6).
The arrival date and time in UTC time (ISO 8601, MAX 27; MIN 27).
IATA carrier code. See http://www.iata.org (MAX 2; MIN 2).
The name of the airline carrier (MAX 100; MIN 1).
The flight number assigned by the airline carrier (MAX 5; MIN 1).
Code base rate provides specific information on the fare in addition to the class service, both required for booking (MAX 15; MIN 1).
The fare class code of the airline (MAX 1; MIN 1). The values can be a letter (A-Z) but may vary depending on the airline’s definition. Check the Airline information reference.
The transaction amount, excluding taxes and fees, the smallest unit of currency (multipleOf 0.0001).
The currency used to transaction amount (MAX 3; MIN 3).
1-letter code indicating whether the passenger is allowed to make a stopover. Only two types of characters are allowed: O: Stopover allowed (the letter ‘O’, not zero) / X: Stopover not allowed. (MAX 1; MIN 1).
A running index (starts with 1), describing the order of legs in the same route.
A running index (starts with 1), describing the order of routes by time. E.g: If an order contains 2 Routes: New-York->London->Paris (connection in London) New-York->London should have route_order=1, order=1; London->Paris should have route_order=1, order=2; Paris->London->New-York: Paris->London should have route_order=2, order=1; London->New-York should have route_order=2, order=2.
Specifies the passengers array of objects.
Show passengers properties
Passenger ID for identification (MAX 128; MIN 1).
The passenger first name (MAX 255; MIN 3).
The passenger last name (MAX 255; MIN 3).
The passenger middle name (MAX 255; MIN 3).
The passenger email (MAX 255; MIN 3).
The passenger type (MAX 1; MIN 1). Check the Airline information reference.
The passenger date of birth in the YYYY-MM-DD (MAX 10; MIN 10).
The passenger nationality (MAX 2; MIN 2; ISO 3166-1).
Specifies the document object of the passenger.
Show document properties
Document number for passenger (MAX 40; MIN 3).
The passenger’s document type (MAX 6, MIN 2; Country reference).
Number of passenger loyalty program.
Tier of passenger loyalty program. Check the Airline information reference.
Specifies the phone object for the passenger.
Show phone properties
The country calling code of the passenger’s phone (MAX 3; MIN 1). Possible values: Check the Country reference.
The passenger’s phone number, without the country code (MAX 32; MIN 1).
Specifies the array of ticket objects.
Show tickets properties
Reference to passenger ID (MAX 128; MIN 1).
Ticket number (MAX 14; MIN 1).
Is this an e-ticket?
Indicates if the ticket is refunfable or not.
Total fare amount in the smallest unit of currency (multiple of 0.0001).
Total taxes amount in the smallest unit of currency (multiple of 0.0001).
Total fee amount in the smallest unit of currency (multiple of 0.0001).
Specifies the issue object.
Show issue properties
Issuing or Validating carrier. This is the AWB Prefix (Air waybill) 3-numeric code (MAX 3; MIN 3).
Code of the travel agent issuing the ticket (MAX 9; MIN 8).
The name under which the point of sale appears on the agency list or franchise name (MAX 32; MIN 1).
Code of the booking system issuing the ticket. (MAX 255; MIN 1).
Name of the booking system issuing the ticket. (MAX 255; MIN 1).
Ticket issuing date (MAX 27; MIN 27).
Address of the agent whose sold the ticket (MAX 255; MIN 3).
City name of the agent whose sold the ticket (MAX 255; MIN 3).
Country code alpha 2 where the ticket was issued (MAX 2; MIN 2; ISO 3166-1).
Specifies the transportations array of objects.
Show transportations properties
The id of the transportation booking (MAX 255; MIN 1).
The description of the transportation booking (MAX 255; MIN 1).
The type of transportation booking.
Specifies the legs array of objects.
Show legs properties
Reference to passenger ID (MAX 128; MIN 1).
A running index (starts with 1), describing the order of legs in the same route.
A running index (starts with 1), describing the order of routes by time.
Country of the departure (MAX 2; MIN 2; ISO 3166-1).
The city of the departure (MAX 255; MIN 1).
Departure timezone (MAX 6; MIN 6).
The departure date and time in local time at the departure.
The reference of the departure (MAX 255; MIN 1).
Country of the arrival (MAX 2; MIN 2; ISO 3166-1).
The city of the arrival (MAX 255; MIN 1).
Arrival timezone (MAX 6; MIN 6).
The arrival date and time in local time at the arrival.
The reference of the arrival (MAX 255; MIN 1).
Specifies the transport object.
Show transport properties
The id of the transportation vehicle (MAX 255; MIN 1).
Specifies the transport object.
Show transport properties
The id of the transportation vehicle (MAX 255; MIN 1).
The type of transportation vehicle.
The description of the transportation vehicle (MAX 255; MIN 1).
Specifies the passengers array of objects.
Show passengers properties
Passenger ID for identification (MAX 128; MIN 1).
The passenger first name (MAX 255; MIN 3).
The passenger last name (MAX 255; MIN 3).
The passenger middle name (MAX 255; MIN 3).
The passenger email (MAX 255; MIN 3).
The passenger type (MAX 1; MIN 1). Check the Airline information reference.
The passenger date of birth in the YYYY-MM-DD (MAX 10; MIN 10).
The passenger nationality (MAX 2; MIN 2; ISO 3166-1).
Specifies the document object of the passenger.
Show document properties
Document number for passenger (MAX 40; MIN 3).
The passenger’s document type (MAX 6, MIN 2; Document Type List).
Number of passenger loyalty program.
Tier of passenger loyalty program. Check the Airline information reference.
Specifies the phone object for the passenger.
Show phone properties
The country calling code of the passenger’s phone (MAX 3; MIN 1).
The passenger’s phone number, without the country code (MAX 32; MIN 1).
Specifies the array of ticket objects.
Show tickets properties
Reference to passenger ID (MAX 128; MIN 1).
Ticket number (MAX 14; MIN 1).
Is this an e-ticket?
Indicates if the ticket is refundable or not.
Total fare amount in the smallest unit of currency (multiple of 0.0001).
Total taxes amount in the smallest unit of currency (multiple of 0.0001).
Total fee amount in the smallest unit of currency (multiple of 0.0001).
Specifies the seller’s details object.
Show seller_details properties
The seller’s legal name (MAX 255; MIN 3).
The seller’s e-mail (MAX 255; MIN 3).
The seller’s identification code (MAX 255; MIN 3).
The seller’s website URL (MAX 255; MIN 3).
The seller’s industry (MAX 235; MIN 1) For more information access the Industry category reference page.
MCC - The merchant category code (MAX 235; MIN 1).
The seller’s country (MAX 255; MIN 2; ISO 3166-1).
Specifies the document object of the seller.
Show document properties
The seller’s document number (MAX 40; MIN 3).
The seller’s document type (MAX 6, MIN 2; Document Type List).
Specifies the seller’s phone number object.
Show phone properties
The country calling code of the seller’s phone (MAX 3; MIN 1). Check the Country reference to see the phone codes.
The seller’s phone number, without the country code (MAX 32; MIN 1).
Specifies the seller’s address object.
Show address properties
The primary address line of the seller (MAX 255; MIN 3).
The secondary billing address line of the seller (MAX 255; MIN 3).
The primary building number of the customer (MAX 255; MIN 3)
The secondary building number of the customer (MAX 255; MIN 3)
The city considered for the seller’s address (MAX 255; MIN 3).
The country considered for the seller’s address (MAX 2; MIN 2; ISO 3166-1).
The state considered for the seller’s address (MAX 255; MIN 1).
The zipcode considered for the seller’s address (MAX 11; MIN 4).
Country where the transaction must be processed (MAX 2; MIN 2; ISO 3166-1).
Identification of the payment transaction defined by the merchant (MAX 255; MIN 3). Optional to complement the merchant_order_id.
Controls additional data returned in the payment response and in the payment webhooks.
Show response_additional_data properties
When true, the payment response and the payment webhooks (for example, payment.purchase) include the full list of the payment’s transactions in the transactions_history array — including attempts declined by previous providers when the payment was routed through more than one provider. When omitted or false (the default), transactions_history is returned as an empty array [] to keep payload sizes small.
Specifies customer object for payments.
Show customer_payer properties
The unique identifier of the customer (UUID, 36 chars). This id is returned in WHITELABEL’s Create Customer endpoint. This object is not mandatory for DIRECT payments. If the id of a customer is sent, it is not necessary to complete the rest of the customer_payer object, the information of the previously created customer will be taken into account for the payment.
Example: be8a1640-43d2-4a75-9694-c6468d82cba3.
The unique identifier for a customer in the merchant’s system, assigned by the merchant (MAX 255; MIN 1).
Customer´s registration date on the merchants platform (ISO 8601 MAX 27; MIN 27)
Fraud validations for the customer payer
Show merchant_customer_validations properties
If the customer’s account has been validated before on the merchant’s side. True by default
If the customer’s email has been validated before on the merchant’s side. True by default
If the customer’s phone has been validated before on the merchant’s side. True by default
The customer’s first name (MAX 255; MIN 1).
The customer’s last name (MAX 255; MIN 1).
The customer’s gender (MAX 2; MIN 1; (M=Male/F=Female/NB=Non Binary/NA=Not applicable/NK=Not Known/U=Undefined)).
The customer’s date of birth in the YYYY-MM-DD format (Length: 10).
The customer’s e-mail (MAX 255; MIN 1).
The customer’s nationality (MAX 2; MIN 2; ISO 3166-1).
The customer’s IP address (MAX 45; MIN 1).
The customer’s device fingerprints (MAX 4000; MIN 1). In case you are using a DIRECT integration and want to support fraud providers in the payment flow, you can use this object to specify the necessary information. For integrations using WHITELABEL checkout the value is obtained automatically, do not send this field.
Show device_fingerprints properties
The fraud screening provider id
The device fingerprint associated to the provider
Specifies the browser_info object.
Show browser_info properties
The user agent value of the customer’s browser (MAX 255; MIN 3).
The accept header value of the customer’s browser.
The platform from which the customer is making the payment.
The color depth of the customer’s browser in bits per pixel. This should be obtained by using the browser’s screen.colorDepth property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth. (MAX 5; MIN 1).
The total height of the customer’s device screen in pixels. (MAX 255; MIN 3).
The total width of the customer’s device screen in pixels. (MAX 255; MIN 3).
Indicates if Javascript is enabled or not in the device.
The navigator.language value of the customer’s browser (as defined in IETF BCP 47) (MAX 5; MIN 1).
The accept browser value of the customer’s browser
The accept content value of the customer’s browser
Indicates if Java is enabled or not in the device
Indicates the browser time difference
Specifies the customer’s document object, including its number and type.
Show document properties
Document number for customer (MAX 40; MIN 3). This field is required if the ‘document’ object is included in the request.
The customer’s document type (MAX 6, MIN 2; Country reference).
Specifies the customer’s billing address object.
Show billing_address properties
The primary billing address line of the customer (MAX 255; MIN 3). This field is required if the ‘billing_address’ object is included in the request.
The secondary billing address line of the customer (MAX 255; MIN 3).
The primary building number of the customer (MAX 255; MIN 3).
The secondary building number of the customer (MAX 255; MIN 3).
The city considered for the billing address (MAX 255; MIN 3). This field is required if the ‘billing_address’ object is included in the request.
The country considered for the billing address (MAX 2; MIN 2; ISO 3166-1). This field is required if the ‘billing_address’ object is included in the request.
State or province code. Use ISO 3166-2 subdivision codes (https://en.wikipedia.org/wiki/ISO_3166-2).
The zip code considered for the billing address (MAX 10; MIN 5).
The neighborhood of the address line of the customer (MAX 255; MIN 2)
Specifies the customer’s shipping address object.
Show shipping_address properties
The primary shipping address line of the customer (MAX 255; MIN 3). This field is required if the ‘shipping_address’ object is included in the request.
The secondary shipping address line of the customer (MAX 255; MIN 3).
The primary building number of the customer (MAX 255; MIN 3).
The secondary building number of the customer (MAX 255; MIN 3).
The city considered for the shipping address (MAX 255; MIN 3). This field is required if the ‘shipping_address’ object is included in the request.
The country considered for the shipping address (MAX 2; MIN 2; ISO 3166-1). [Required].
State or province code. Use ISO 3166-2 subdivision codes (https://en.wikipedia.org/wiki/ISO_3166-2).
The zip code considered for the shipping address (MAX 10; MIN 5).
The neighborhood of the address line of the customer (MAX 255; MIN 2)
Specifies the customer’s phone number object.
Show phone properties
The country calling code of the customer’s phone (MAX 3; MIN 1). Check the Country reference to see the phone codes. This field is required if the ‘phone’ object is included in the request.
The customer’s phone number, without the country code (MAX 32; MIN 1). This field is required if the ‘phone’ object is included in the request.
Customer’s geolocation.
Show geolocation properties
Angular distance of a location on the earth south or north of the equator (MIN: 1, MAX:11)
Angular measurement of the distance of a location on the earth east or west of the Greenwich observatory. (MIN: 1, MAX:11)
The payment workflow. Indicates whether the integration will use WHITELABEL´s SDK or will be a back to back connection. Guides
SDK_CHECKOUT: [Recommended] - Use WHITELABEL’s SDK.DIRECT: Back to back integration with provider info for custom payment experience.REDIRECT: Back to back integration with provider redirection.
The payment method object.
Show payment_method properties
The one time use payment method token provided by WHITELABEL sdk. If a payment is created using a token, it is not necessary to send a vaulted_token as well, it can be defined as null. Not necessary for back to back payments (MAX: 64; MIN: 36).
The vaulted token for a previously stored payment_method. If a payment is created using a vaulted_token, it is not necessary to send a token as well, it can be defined as null (MAX: 64; MIN: 36).
Type of the payment method. Only required for DIRECT or REDIRECT workflow. Required when integrating wallets, even when using the SDK.
Specifies the payment method detail object.
Show detail properties
Specifies the card object.
Show card properties
Determines whether the card payment is captured immediately (TRUE = purchase) or only authorized (FALSE = requires capture or cancel).
Configuration for automatically capturing the full authorized amount after a delay. Only valid when capture = FALSE.
Show delayed_capture_settings properties
Delay before WHITELABEL performs the capture (ISO 8601 format).
If true, WHITELABEL retries the capture if it fails.
Configuration for automatically canceling the authorization after a delay. Only valid when capture = FALSE.
Show delayed_cancel_settings properties
Delay before WHITELABEL performs the cancel (ISO 8601 format).
If true, WHITELABEL retries the capture if it fails.
The card installments.
Number of months to be waited to debit the first installment.
Statement descriptor passed per transaction. It is presented on the cardholder’s bank statement (MAX 255). For merchant-initiated (MIT) recurring charges, set it on each payment; for WHITELABEL subscription-engine rebills, set it on the subscription instead. Behavior and length limits vary by provider. See Statement descriptor on recurring payments.
Specifies the card_data object.
Show card_data properties
Card’s number without any separators. (MAX 19; MIN 8) - only available for PCI certified merchants.
Card’s expiration month - MM (MAX 2; MIN 2) - only available for PCI certified merchants.
Card’s expiration year - YYYY (MAX 4; MIN 2) - only available for PCI certified merchants.
Card’s security code (MAX 4; MIN 3) - only available for PCI certified merchants.
Cardholder’s full name as it appears on the card (MAX 26; MIN 3) - only available for PCI certified merchants.
The card type. For dual cards (like in Brazil), you can specify the type of card that is being processed so we can inform the providers.
The network token object. Only available for merchants that handle the network token generation/management from their side. Direct Network token guide
Show network_token properties
Specifies the token_data object.
Show token_data properties
[Mandatory] - Token’s number without any separators. (MAX 19; MIN 8) - only available for PCI certified merchants
Cardholder’s full name as it appears on the Token (MAX 26; MIN 3)
Token’s expiration month - MM (MAX 2; MIN 2)
Token’s expiration year - YYYY (MAX 4; MIN 4) - only available for PCI certified merchants
[Mandatory] - The unique cryptogram generated by the issuer for the network token in use in the transaction.
[Only required for certain providers] - In case the token has been authenticated by Mastercard the field should be set to 02. For Visa or not authenticated tokens, is not necessary to send the field.
[Only required for certain providers] - Token requestor ID of the merchant
3DS secure information
Show three_d_secure properties
The identifier returned by POST /v1/three-d-secure/setups. Required when using 3D Secure 2 (3DS2) authentication in a server-to-server integration where you collect browser and device data on your side.
[Optional for 3DS integration without WHITELABEL’s JS] - Refers to the protocol version of the EMV 3-D Secure specification used. 1.0, 2.0, 2.1.0, 2.2.0, 2.2.1, 2.3.0 y 2.3.1
[Optional for 3DS integration without WHITELABEL’s JS] - This field must be completed with the result of the ECI field provided by the 3d Secure service. The Electronic Commerce Indicator (ECI) informs the card issuer if the transaction was protected by a security protocol like VbV or MCSC. It is mandated by Visa and MasterCard that all 3-D Secure transactions have this value populated in the authorization request. (Min: 0, max: 2).
[Optional for 3DS integration without WHITELABEL’s JS] - This field must be completed with the result of the cryptogram field provided by the 3DSecure service. In Visa transactions, it represents the Cardholder Authentication Verification Value (CAVV), a cryptographic value generated by the Issuer as evidence of payment authentication during online purchase to qualify for chargeback protection. MasterCard transactions have a similar value called Accountholder Authentication Value (AAV) or the Universal Cardholder Authentication Field (UCAF). When submitting a transaction for authorization, the merchant must include the CAVV or AAV/UCAF to demonstrate that the cardholder has been authenticated. It is typically base64-encoded. (Min: 0, Max: 40).
[Optional for 3DS integration without WHITELABEL’s JS] - For 3DS v1: This is the Unique Transaction Identifier. It is automatically generated by the MPI. It is typically 28 bytes in length and base64-encoded. Is commonly referred to as XID. (Min: 0, Max: 40). For 3DS v2: Universally unique transaction identifier assigned by the DS to identify a single transaction. (Min: 36, Max:36).
[Optional for 3DS integration without WHITELABEL’s JS] - Transaction ID generated by the Mastercard directory server during authentication (MAX 255; MIN 3).
Using amount = 0 and verify = true, you can verify the user’s card without authorizing a real amount. If the field is not sent, we will take it as false.
Unique identifier assigned by the card acquirer to track the transaction through the card network. Used for reconciliation and chargebacks.
Indicates the processing type of the transaction. Refer to the Stored credentials documentation for more information.
Show stored_credentials properties
Indicates the processing type of the transaction.
This field lets you indicate if this is the first time the vaulted_token/network_token is used for a payment.
This field lets you indicate the identification of the agreement with the customer for a subscription. Mainly for MX.(MAX 255; MIN 3). Stored credentials
Unique identifier assigned to a transaction by the card network. It is used to track and reference specific transactions, particularly in recurring payment scenarios, ensuring consistency and traceability across the payment lifecycle. (MAX 255; MIN 3). Stored credentials
This structure is used to send additional information about recurrence. It’s optional, and few providers require it (e.g. Mercado Pago). Contact your TAM to confirm if it’s needed for your integration.
Show additional_data properties
Specifies the billing_cycles object. Defines the number of charges associated to the subscription. If using this object, you must enter data on all fields.
Show billing_cycles properties
The total number of billing cycles for the subscription (MIN 1).
Specifies the frequency type (e.g., DAY, WEEK, MONTH, YEAR) and value. Enter data on all fields if using this object.
Show frequency properties
Specifies the frequency type (e.g., DAY, WEEK, MONTH, YEAR).
Specifies the frequency value.
Specifies the availability object. Defines a date interval based on starting and ending dates when the subscription is available to use.
Show availability properties
The start date that the subscription plan will be available to use. If not set, the subscription is available from the moment it is created. start_at becomes mandatory when using finish_at.
The end date until the subscription plan will be available to use. If not defined, the subscription does not have an expiration date. finish_at becomes mandatory when using start_at.
Array of provider-issued tokens for inline card payments. Use when a provider-issued token is available for this single payment without prior enrollment. Mutually exclusive with raw card data (card_data.number, card_data.security_code, etc.). Minimum 1 item, maximum 5. Each (provider_id, connection_id) pair must be unique.
Show external_providers_data properties
The WHITELABEL connection / account-integration identifier that owns the token.
Provider identifier (e.g., ADYEN, CHECKOUT).
The token issued by the provider for this card.
Specifies the ticket object
Show ticket properties
Specifies the user’s benefit type for Pluxee Chile.
Payment methods expiration date. “yyyy-MM-dd HH:mm:ss.SSSz”. Only available when the provider associated to the payment supports it. Please feel free to reach out to your technical account manager for further questions.
Specifies the wallet object
Show wallet properties
Complete wallet response payload as a JSON string, exactly as returned by the wallet provider
Payment methods expiration date. “yyyy-MM-dd HH:mm:ss.SSSz”. Only available when the provider associated to the payment supports it. Please feel free to reach out to your technical account manager for further questions.
Indicates whether the wallet payment should be captured immediately (true) or only authorized for later capture (false)
Statement descriptor passed per transaction. It is presented on the cardholder’s bank statement (MAX 255). Apple Pay / Google Pay rebills ride the card / network-token rail, so the descriptor is applied the same way as for cards. Behavior and length limits vary by provider. See Statement descriptor on recurring payments.
Registered domain used during the wallet flow. (MAX 255; MIN 3).
Cryptogram for direct integrations with card wallets (MAX 526; MIN 3).
Enables card verification flow through the wallet. When true, a verification transaction (e.g., zero-dollar auth) is performed instead of a regular payment.
Indicates the processing type of the transaction. Refer to the Stored credentials documentation for more information. For an Apple Pay or Google Pay first payment with vault_on_success, send stored_credentials here (usage FIRST); later charges on the resulting vaulted_token use detail.card.stored_credentials.
Show stored_credentials properties
Indicates the processing type of the transaction.
This field lets you indicate if this is the first time the vaulted_token/network_token is used for a payment.
This field lets you indicate the identification of the agreement with the customer for a subscription. Mainly for MX.(MAX 255; MIN 3). Stored credentials
Unique identifier assigned to a transaction by the card network. It is used to track and reference specific transactions, particularly in recurring payment scenarios, ensuring consistency and traceability across the payment lifecycle. (MAX 255; MIN 3). Stored credentials
This structure is used to send additional information about recurrence. It’s optional, and few providers require it (e.g. Mercado Pago). Contact your TAM to confirm if it’s needed for your integration.
Show additional_data properties
Specifies the billing_cycles object. Defines the number of charges associated to the subscription. If using this object, you must enter data on all fields.
Show billing_cycles properties
The total number of billing cycles for the subscription (MIN 1).
Specifies the frequency type (e.g., DAY, WEEK, MONTH, YEAR) and value. Enter data on all fields if using this object.
Show frequency properties
Specifies the frequency type (e.g., DAY, WEEK, MONTH, YEAR).
Specifies the frequency value.
Specifies the availability object. Defines a date interval based on starting and ending dates when the subscription is available to use.
Show availability properties
The start date that the subscription plan will be available to use. If not set, the subscription is available from the moment it is created. start_at becomes mandatory when using finish_at.
The end date until the subscription plan will be available to use. If not defined, the subscription does not have an expiration date. finish_at becomes mandatory when using start_at.
Card information provided by the merchant for the wallet payment.
Show card_data properties
Last four digits of the cardholder’s real card (FPAN), exactly 4 numeric digits. Google Pay server-to-server only: for CRYPTOGRAM_3DS device tokens the encrypted token decrypts to the DPAN, so send the value from paymentMethodData.info.cardDetails in Google’s response and WHITELABEL uses it in place of the DPAN-derived last four. Ignored for PAN_ONLY credentials and for other wallets. See Card last four digits for device tokens.
Specifies the bank transfer object.
Show bank_transfer properties
ID of the pre-debit notification that precedes this recurring debit, as returned by the Create pre-debit notification endpoint. Required for UPI Autopay recurring debits (NPCI compliance). WHITELABEL validates that the notification exists, belongs to your account, and is in SENT status; otherwise the payment is rejected with PRE_DEBIT_NOTIFICATION_NOT_FOUND or PRE_DEBIT_NOTIFICATION_NOT_SENT (422).
Human-readable reference associated with the bank transfer. Commonly used for reconciliation and operational purposes (MAX 255; MIN 1).
Payment methods expiration date. “yyyy-MM-dd HH:mm:ss.SSSz”. Only available when the provider associated to the payment supports it. Please feel free to reach out to your technical account manager for further questions.
Type of the bank account (MAX 255; MIN 3). CHECKINGS/SAVINGS
The number of the bank account (MAX 255; MIN 3).
Identifier of the bank selected for the transfer when the provider requires choosing one.
The routing_number of the bank account (MAX 255; MIN 3).
The beneficiary’s specific financial institution code (MAX 8).
The beneficiary’s specific financial institution branch (MAX 8).
The beneficiary’s specific financial institution branch digit (MAX 2).
Name of the account holder (MAX 255; MIN 3).
Type of the beneficiary (MAX 255; MIN 3).
Tokenized ID of the destination account (MAX 255; MIN 3).
Bank account holder type (for ACH payments).
Indicates the processing type of the transaction. Refer to the stored credentials documentation for more information.
Show stored_credentials properties
Indicates the processing type of the transaction.
This field lets you indicate if this is the first time the vaulted_token/network_token is used for a payment.
This field lets you indicate the identification of the agreement with the customer for a subscription (MAX 255; MIN 3). See Stored credentials for more info.
This object is used to send additional information about recurrence.
Show additional_data properties
Defines the number of charges associated to the subscription. If using this object, you must enter data on all fields.
Show billing_cycles properties
Current billing cycles for the subscription.
The total number of billing cycles for the subscription.
Specifies the frequency type (e.g., DAY, WEEK, MONTH, YEAR) and value. Enter data on all fields if using this object.
Show frequency properties
Specifies the frequency type (e.g., DAY, WEEK, MONTH, YEAR).
Specifies the frequency value.
Defines a date interval based on starting and ending dates when the subscription is available to use.
Show availability properties
The start date that the subscription plan will be available to use. If not set, the subscription is available from the moment it is created. start_at becomes mandatory when using finish_at.
The end date until the subscription plan will be available to use. If not defined, the subscription does not have an expiration date. finish_at becomes mandatory when using start_at.
Masked bank account number associated with the bank transfer (for example, ****6789). This is account data, not mandate data.
Direct debit mandate details, for bank transfer methods that operate with mandates (for example, ACH, SEPA, BACS, PAD).
Show mandate properties
Mandate identifier, as provided by the payment provider.
Free-text mandate information.
Provider status indicating whether the mandate was received. Forwarded as provided by the payment provider.
Provider status of the existing mandate. Forwarded as provided by the payment provider.
Date and time when the mandate was created (ISO 8601).
Date and time when the mandate was last updated (ISO 8601).
Array of Strong Customer Authentication (SCA) exemptions that can be applied to the transaction to reduce friction while maintaining security compliance.
Flag to enroll the card after a successful payment (requires customer_payer.id).
Per-card control for Card Account Updater. When set to false, the card enrolled or used in this payment is excluded from Card Account Updater and will not receive automatic card-detail updates. When omitted, the card follows your account’s Account Updater configuration.
Specifies the OTP object.
Show otp properties
Specifies if a one time password is required in the flow
Links this payment to a subscription managed in an external billing platform. When present on an approved payment with a vaulted card, WHITELABEL takes over the subscription’s recurring charges. Cannot be sent together with the subscription object (returns INVALID_REQUEST). The object is returned in the payment response, in Retrieve Payment and in payment webhooks.
Show external_subscription properties
The subscription’s identifier in the external billing platform (for example sub_... for Stripe Billing). Required when the object is present. (MIN 3; MAX 255)
The customer’s identifier in the external billing platform that owns the subscription (for example cus_...). Recommended; resolved from the subscription when omitted.
Specifies the subscription object. Send exactly one of three shapes: inline terms (frequency, availability and amount) to create a subscription, plan_id to create one from a plan, or id to charge an existing subscription. See Start a subscription with the first payment.
Show subscription properties
Identifier (UUID v4) of an active plan in your account. The subscription takes its price, cadence and trial from the plan, and the payment amount must equal the plan’s price for the payment country. Retries are not set in this call: the subscription uses the plan’s retry configuration. Cannot be sent with id, amount, frequency.type, frequency.value, billing_date, trial, trial_period or phases (400 INVALID_REQUEST). See Create a subscription from a plan.
Specifies the frequency object. Required to create a subscription with inline terms. With plan_id, send only execution (defaults to YUNO); the plan owns type and value.
Show frequency properties
Frequency of the subscription payment. Required with inline terms; cannot be sent with plan_id. Pix Automático accepts one period of WEEK, MONTH, QUARTER, HALF_YEAR or YEAR, always with value 1.
Number of type units between charges. Always send it when creating a subscription — omitting it is not rejected up front, the payment is charged and the subscription creation then fails. Whole numbers only.
Indicates if the payment is made by WHITELABEL or the merchant. Required with inline terms; defaults to YUNO with plan_id.
Specifies the availability object. Required to create a subscription with inline terms; optional with plan_id.
Specifies the amount object. Required to create a subscription with inline terms. Cannot be sent with plan_id.
Show amount properties
The amount of each recurring charge. When type is FIXED this must equal the payment’s amount.value, otherwise the request is rejected with 400 before any charge.
The currency used to make the payment. Must match the payment’s amount.currency, otherwise the request is rejected with 400 before any charge. For a full list of currency codes, see Country reference (MAX 3; MIN 3; ISO 4217).
Type of the subscription payment
Specifies the billing cycles object (used when creating a payment along with the subscription).
Show billing_cycles properties
Total number of cycles to bill before the subscription completes. With inline terms it is validated after the charge — a value lower than 1 leaves the payment charged and the subscription not created. With plan_id, a value lower than 1 is rejected up front with 400 INVALID_REQUEST.
Identifier of an existing subscription to charge. Omit it when creating a new one, and never send it with plan_id.
Specifies the billing date object (used when creating a payment for an existing subscription). Ignored when a new subscription is created.
Show billing_date properties
Type of the billing date
Day of the month when the subscription payment is made
Metadata stored on the subscription. Read only with plan_id; ignored with inline terms. Same format as on Create Subscription.
Show metadata properties
The metadata key (MAX 48).
The metadata key value (MAX 512).
The URL where to redirect the customer after the payment. Only required for DIRECT integrations that have a redirection (MAX 526; MIN 3).
Fraud screening object.
Show fraud_screening properties
Optional field to send in the payment indicating if the fraud screening is stand alone, meaning that a payment will not be excecuted after the fraud screening is made. You can use this field while creating your CARD route.
Split marketplace array of objects
Show split_marketplace properties
The unique identifier of the recipient in the WHITELABEL system.
You must provide the recipient_id (WHITELABEL-generated) or the provider_recipient_id (external provider’s ID) when creating a payment.
The recipient ID provided by the external payment provider, if applicable.
You must provide the provider_recipient_id or the recipient_id (WHITELABEL-generated) when creating a payment.
Description for the split. (MAX 255; MIN 3).
The type of split. recipient_id is mandatory for PURCHASE and MARKETPLACE.
Optional unique identifier for the split transaction (MAX 255; MIN 3).
The type of recipient for the provider.
Defines the amount of the split. This field is optional if the recipient has a split_configuration defined, as the amount will be calculated automatically.
Show amount properties
The split amount (multiple of 0.0001).
The currency used to make the payment. For a full list of currency codes, see Country reference (MAX 3; MIN 3; ISO 4217).
Optional information regarding the recipient’s liability for fees and chargebacks.
Show liability properties
Indicates who will be charged the transaction fee.
The recipient is responsible in case of a chargeback.
Custom key–value tags to track this payment or add context (e.g., order_id, invoice, campaign). Up to 120 items.
Show metadata properties
The metadata key (MAX 48. Value: MIN:1, MAX:48). [Case Sensitive]
The metadata key value (MAX 512. Value: MIN:1, MAX:512). [Case Sensitive]
Response
201
Show amount properties
Show currency_conversion properties
Unique identifier of the currency conversion rate query (UUID, 36 chars).
WHITELABEL’s internal identifier for this DCC record. Example: ccv_01HVK3Z9M2....
Currency of the cardholder (ISO 4217, 3 chars).
Total amount billed to the cardholder in cardholder_currency.
Indicates if the cardholder accepted the DCC offer.
Applied FX rate (markup included).
Markup added over the wholesale rate, expressed as a percentage.
Wholesale benchmark used for the quote.
DCC provider that issued the quote.
Verbatim disclosure text shown to the cardholder.
Timestamp when the DCC provider issued the quote.
Timestamp when the quote expires.
Lifecycle state of the conversion.
Populated only when DCC could not be applied.
Acquirer round-trip data returned by the underlying provider adapter.
Show checkout properties
Show payment_method properties
Show payment_method_detail properties
Show card properties
Show card_data properties
Show three_d_secure properties
Show stored_credentials properties
Show customer_payer properties
Show browser_info properties
Show document properties
Show phone properties
Show billing_address properties
Show shipping_address properties
Show additional_data properties
Show airline properties
Show legs properties
Show passengers properties
Show document properties
Show ticket properties
Show order properties
Show items properties
Show transactions properties
Show payment_method properties
Show detail properties
Show card properties
Show card_data properties
Show three_d_secure properties
Show stored_credentials properties
Show provider_data properties
Obfuscated copy of the request WHITELABEL sent to the provider. Only returned for allowlisted organizations.
Show raw_response properties
Show amount properties
Show connection_data properties
Show transactions_history properties
Show payment_method properties
Show detail properties
Show card properties
Show card_data properties
Show three_d_secure properties
Show stored_credentials properties
Show provider_data properties
Obfuscated copy of the request WHITELABEL sent to the provider. Only returned for allowlisted organizations.
Show raw_response properties
Show amount properties
Show connection_data properties
Show metadata properties
Identifier of the subscription created or charged by this payment. Null when the payment carries no subscription.
The subscription’s plan when this payment was created. Present only on payments created with subscription.plan_id and on their renewals; absent otherwise.
When the plan was assigned to the subscription (UTC, ISO 8601). Present only on payments that carry plan_id.
Show routing_rules properties
Show condition properties
400
401
403