Skip to main content
This page presents examples of requests and responses for creating payments and authorizations using the Create Payment endpoint and Card as payment method. To test the creation of each payment, you can copy the content from the request code and use it on your machine or paste it on the Create Payment endpoint to test using Readme.

Cards available examples

Card Direct for authorization

Card Direct for authorization with airline data

Card Direct with installments

Card Direct with vault on success

Card Direct with vaulted token

Card Direct with 3DS

Card Direct with customer, billing, shipping and order items

Card Direct for authorization

Example of a request for authorization using Card Direct. Below are examples of a request and the received response for successful payment creation. The request is presented using the cURL format, and the response is a JSON object.
Request (cURL)
Response (JSON)

Card Direct for authorization with airline data

Example of a request for authorization with airline data using Card Direct. Below are examples of a request and the received response for successful payment creation. The request is presented using the cURL format, and the response is a JSON object.
Request (cURL)
Response (JSON)

Card Direct with installments

Example of a request for payment with installments using Card Direct. Below are examples of a request and the received response for successful payment creation. The request is presented using the cURL format, and the response is a JSON object.
Request (cURL)
Response (JSON)

Card Direct with customer, billing, shipping and order items

Example of a request for payment using Card Direct. Below are examples of a request and the received response for successful payment creation. The request is presented using the cURL format, and the response is a JSON object.
Request (cURL)
Response (JSON)

Card Direct with vault on success

Example of a successful request for payment using Card Direct. Below are examples of a request and the received response for successful payment creation. The request is presented using the cURL format, and the response is a JSON object.
Request (cURL)
Response (JSON)

Card Direct with vaulted token

Example of a request for payment using Card Direct with a vaulted token. Below are examples of a request and the received response for successful payment creation. The request is presented using the cURL format, and the response is a JSON object.
Request (cURL)
Response (JSON)

Card Direct with 3DS

Example of a request for payment using Card Direct with the 3DS implementation that requires the Yuno Setup. Below are examples of a request and the received response for successful payment creation. The request is presented using the cURL format, and the response is a JSON object.
Request (cURL)
Response (JSON)