This section describes how to use this guide and where to find further
information.
Audience and Purpose
This guide is written for merchants who want to offer Thunes services to customers. It
describes tasks that a merchant must complete in order to process a payment. It is intended
to help the merchant provide a seamless customer payment experience.
Customer Support
For support information about any service, visit the Support Center:
VISA Platform Connect: Specifications and Conditions for
Resellers/Partners
The following are specifications and conditions that apply to a Reseller/Partner enabling
its merchants through
Cybersource for
Visa Platform Connect
(“VPC”)
processing
. Failure to meet any of the specifications and conditions below is
subject to the liability provisions and indemnification obligations under
Reseller/Partner’s contract with Visa/Cybersource.
Before boarding merchants for payment processing on a VPC acquirer’s connection,
Reseller/Partner and the VPC acquirer must have a contract or other legal agreement
that permits Reseller/Partner to enable its merchants to process payments with the
acquirer through the dedicated VPC connection and/or traditional connection with
such VPC acquirer.
Reseller/Partner is responsible for boarding and enabling its merchants in
accordance with the terms of the contract or other legal agreement with the relevant
VPC acquirer.
Reseller/Partner acknowledges and agrees that all considerations and fees associated
with chargebacks, interchange downgrades, settlement issues, funding delays, and
other processing related activities are strictly between Reseller and the relevant
VPC acquirer.
Reseller/Partner acknowledges and agrees that the relevant VPC acquirer is
responsible for payment processing issues, including but not limited to, transaction
declines by network/issuer, decline rates, and interchange qualification, as may be
agreed to or outlined in the contract or other legal agreement between
Reseller/Partner and such VPC acquirer.
DISCLAIMER: NEITHER VISA NOR CYBERSOURCE WILL BE RESPONSIBLE OR LIABLE FOR ANY ERRORS OR
OMISSIONS BY THE
Visa Platform Connect
ACQUIRER IN PROCESSING TRANSACTIONS. NEITHER VISA
NOR CYBERSOURCE WILL BE RESPONSIBLE OR LIABLE FOR RESELLER/PARTNER BOARDING MERCHANTS OR
ENABLING MERCHANT PROCESSING IN VIOLATION OF THE TERMS AND CONDITIONS IMPOSED BY THE
RELEVANT
Visa Platform Connect
ACQUIRER.
Introduction to Thunes Integration
Thunes is a payment service provider (PSP) offered by
Cybersource
that
enables you to process payments using regional payment methods throughout the world. You
can choose which Thunes payment method to integrate to in order to offer your customers
a market-specific payment option. The different payment methods also offer different
ways to pay, such as buy now pay laters (BNPLs), credit card processing, and digital
wallets.
Requirements
You must have a
Cybersource
merchant ID and a Thunes API key for each
country in which you process transactions. Contact your
Cybersource
account manager for more information.
If you integrated with Thunes before January 2025, you must
now include the
billTo_country
field in every
authorization and sale request.
Alipay+ Transaction Requests
This section describes how to process Alipay+ payments, check the current status of a
transaction, and refund payments using the
Simple Order API
.
Alipay+ is a digital wallet payment method offered by the Thunes payment service provider
(PSP) that you can offer your customers through
Cybersource
.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Countries and Currencies
This table lists the countries, digital wallet type, country codes, and currency
codes that are supported by Alipay+.
Supported Countries and Currencies
Country
Digital Wallet
Country Code
Currency
Currency Code
China
Alipay
CN
Chinese yuan renminbi
CNY
Hong Kong (CN)
Alipay+
HK
Hong Kong dollar
HKD
Indonesia
Akulaku PayLater
Dana
ID
Indonesian rupiah
IDR
Korea, Republic of (South)
KakaoPay
KR
South Korean won
KRW
Malaysia
Boost
Touch'n'GO
MY
Malaysian ringgit
MYR
Philippines
Bank of Philippines
Gcash
PH
Philippine peso
PHP
Thailand
Rabbit Line Pay
TrueMoney
TH
Thai baht
THB
Shipping Policy
Goods can be shipped when the sale status is
SETTLED
.
Processing an Alipay+ Payment Workflow
This workflow describes the sequence of events that comprises a successful Alipay+
payment.
Figure:
Alipay+ by Thunes Payment Workflow
The customer begins to checkout on the merchant's website and chooses the
Alipay+ payment method.
The merchant displays a confirmation of the completed payment to the
customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
Send a sale request to authorize and capture a payment in the same request. A successful
sale response includes a redirect URL and a pending status. Redirect the customer to the
URL to allow the customer to complete the checkout using Alipay+. When the customer
completes the checkout, the customer is redirected to your merchant website based on the
success URL you include in the
apSaleService_successURL
request field.
Supported Digital Wallets
This table lists the supported digital wallet types and the relevant digital wallet
code, country code, and currency code for each country. When sending a sale request,
set these fields to the specified values listed in the table:
responds to your sale request with one of these statuses in the
apSaleReply_status
field:
Sale Status
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Request the check status service every 60 minutes to retrieve
status updates. See Check a Request Status.
The sale service also responds with a reason code in the
When the customer completes the checkout using their Alipay+
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
The customer must select
Return to
Merchant
at the end of check out in order for the sale to
settle.
Save the request ID in the
requestID
field
from the sale response. Include the request ID in a check status request to
confirm that the payment is complete.
The check status service is a follow-on service used to retrieve
a status update of a pending sale or refund.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
You can refund a completed payment for the full amount or a partial amount by sending a refund request. Alipay+ supports multiple
refund requests when the total amount of all of the refund requests is less than the captured amount.
Requesting a refund requires the request ID from the sale
response. The request ID is located in the
responds to your refund request with one of these statuses as the
apRefundReply_status
field value:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Request the check status service to retrieve status updates. For more
information, see Check a Request Status.
The refund service also responds with a reason code as the
Blik is a payment method offered by the Thunes payment service provider (PSP) that you
can offer your customers through
Cybersource
. You can process a payment
by sending a sale API request message to
Cybersource
.
Cybersource
sends your request to Thunes. Thunes approves the transaction and
sends the request to the processor for settlement. You can also send a follow-on refund
and check status API requests.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Country and Currency
This table lists the country, country code, and currency supported by Blik.
Supported Country and Currency
Country
Country Code
Currency
Currency Code
Poland
PL
Polish zloty
PLN
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
Blik by Thunes Payment Workflow
This workflow describes the sequence of events that comprises a successful Blik
payment.
Figure:
Blik by Thunes Payment Workflow
The customer begins to checkout on the merchant's website and chooses the Blik
payment method.
The merchant displays a confirmation of the completed payment to the
customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
Send a sale request to authorize and capture a payment in the same request. A successful
sale response includes a redirect URL and a pending status. Redirect the customer to the
URL to allow the customer to complete the checkout using Blik. When the customer
completes the checkout, the customer is redirected to your merchant website based on the
success URL you include in the
apSaleService_successURL
request field.
Line Items
Line items can be included in a sale request. Line items correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order.
For more information about how to properly format line items in your request, see
Using Line Items.
Tax Amounts
You can include the tax amount for every type of purchased product
in the
item_#_taxAmount
field when you request the
sale service.
Calculating the Grand Total
Include the grand total in the request by using the
responds to your sale request with one of these statuses in the
apSaleReply_status
field:
Sale Status
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Request the check status service every 60 minutes to retrieve
status updates. See Check a Request Status.
The sale service also responds with a reason code in the
When the customer completes the checkout using their Blik
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
Save the request ID in the
requestID
field
from the sale response. Include the request ID in a check status request to
confirm that the payment is complete.
You can retrieve the status of a pending sale or refund by sending a check status request.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
You can refund a completed payment for the full amount or a partial amount by sending a refund request. Blik supports multiple
refund requests when the total amount of all of the refund requests is less than the captured amount.
Requesting a refund requires the request ID from the sale
response. The request ID is located in the
responds to your refund request with one of these statuses as the
apRefundReply_status
field value:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Request the check status service to retrieve status updates. For more
information, see Check a Transaction Status.
The refund service also responds with a reason code as the
GoPay is
a payment method offered by the Thunes payment service provider (PSP) that you can offer
your customers through
Cybersource
. You can process a payment by sending
a sale API request message to
Cybersource
.
Cybersource
sends your request to Thunes. Thunes approves the transaction and sends the request to
the processor for settlement. You can also send a refund and check status API request as
follow-on services.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Currency
This table lists the currency supported by GoPay.
Supported Currencies and Currency Codes
Currency
Currency Code
Indonesian rupiah
IDR
Shipping Policy
Goods can be shipped when the sale status is
SETTLED
.
GoPay by Thunes Payment Workflow
This workflow describes the sequence of events that comprises a successful GoPay
payment.
Figure:
GoPay by Thunes Payment Workflow
The customer begins to checkout on the merchant's website and chooses the GoPay
payment method.
The merchant displays a confirmation of the completed payment to the
customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
Send a sale request to authorize and capture a payment in the same request. A successful
sale response includes a redirect URL and a pending status. Redirect the customer to the
URL to allow the customer to complete the checkout using GoPay.
When the customer completes the checkout, the customer is redirected to the merchant
website using the success-URL provided in the sale request.
Line Items
Line items can be included in a sale request. Line items correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order.
For more information about how to properly format line items in your request, see
Using Line Items.
Tax Amounts
You can include the tax amount for every type of purchased product
in the
item_#_taxAmount
field when you request the
sale service.
Calculating the Grand Total
Include the grand total in the request by using the
responds to your sale request with one of these statuses in the
apSaleReply_status
field:
Sale Status
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Request the check status service every 60 minutes to retrieve
status updates. See Check a Request Status.
The sale service also responds with a reason code in the
When the customer completes the checkout using their GoPay
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
Save the request ID in the
requestID
field
from the sale response. Include the request ID in a check status request to
confirm that the payment is complete.
The check status service is a follow-on service used to retrieve a status update of a
pending sale or refund.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
You can refund a completed payment for the full amount or a partial amount by sending a refund request. GoPay supports multiple
refund requests when the total amount of all of the refund requests is less than the captured amount.
Requesting a refund requires the request ID from the sale
response. The request ID is located in the
responds to your refund request with one of these statuses as the
apRefundReply_status
field value:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Request the check status service to retrieve status updates. For more
information, see Check a Request Status.
The refund service also responds with a reason code as the
GrabPay
is a payment method offered by the Thunes payment service provider (PSP) that you can
offer your customers through
Cybersource
. You can process a payment by
sending a sale API request message to
Cybersource
.
Cybersource
sends your request to Thunes. Thunes approves the transaction and
sends the request to the processor for settlement. You can also send a refund and check
status API request as follow-on services.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Currencies
This table lists the currencies supported by GrabPay.
Supported Currencies and Currency Codes
Currency
Currency Code
IDR
Indonesian rupiah
MYR
Malaysian ringgit
PHP
Philippine peso
Shipping Policy
Goods can be shipped when the sale status is
SETTLED
.
GrabPay by Thunes Payment Workflow
This workflow describes the sequence of events that comprises a successful GrabPay
payment.
Figure:
GrabPay by Thunes Payment Workflow
The customer begins to checkout on the merchant's website and chooses the
GrabPay payment method.
The merchant displays a confirmation of the completed payment to the
customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
Send a sale request to authorize and capture a payment in the same request. A successful
sale response includes a redirect URL and a pending status. Redirect the customer to the
URL to allow the customer to complete the checkout using GrabPay.
When the customer completes the checkout, the customer is redirected to the merchant
website using the success-URL provided in the sale request.
Line Items
Line items can be included in a sale request. Line items correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order.
For more information about how to properly format line items in your request, see
Using Line Items.
Tax Amounts
You can include the tax amount for every type of purchased product
in the
item_#_taxAmount
field when you request the
sale service.
Calculating the Grand Total
Include the grand total in the request by using the
responds to your sale request with one of these statuses in the
apSaleReply_status
field:
Sale Status
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Request the check status service every 60 minutes to retrieve
status updates. See Check a Request Status.
The sale service also responds with a reason code in the
When the customer completes the checkout using their GrabPay
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
Save the request ID in the
requestID
field
from the sale response. Include the request ID in a check status request to
confirm that the payment is complete.
You can retrieve the status of a pending sale or refund by sending a check status request.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
You can refund a completed payment for the full amount or a partial amount by sending a refund request. GrabPay supports multiple
refund requests when the total amount of all of the refund requests is less than the captured amount.
Requesting a refund requires the request ID from the sale
response. The request ID is located in the
responds to your refund request with one of these statuses as the
apRefundReply_status
field value:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Request the check status service to retrieve status updates. For more
information, see Check a Request Status.
The refund service also responds with a reason code as the
LINE Pay is a payment method
offered by the Thunes payment service provider (PSP) that you can offer your customers
through
Cybersource
. You can process a payment by sending a sale API
request message to
Cybersource
.
Cybersource
sends your
request to Thunes. Thunes approves the transaction and sends the request to the
processor for settlement. You can also send a refund and check status API request as
follow-on services.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Currencies
This table lists the currencies supported by LINE Pay.
Supported Currencies and Currency Codes
Currency
Currency Code
IDR
Indonesian rupiah
MYR
Malaysian ringgit
PHP
Philippine peso
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
LINE Pay by Thunes Payment Workflow
This workflow describes the sequence of events that comprises a successful LINE Pay
payment.
Figure:
LINE Pay Sale Workflow
The customer begins to checkout on the merchant's website and chooses the LINE
Pay payment method.
The merchant displays a confirmation of the completed payment to the
customer.
Transaction Statuses Workflow
Process a Sale
Send a sale request to authorize and capture a payment in the same request. A successful
sale response includes a redirect URL and a pending status. Redirect the customer to the
URL to allow the customer to complete the checkout using LINE Pay.
When the customer completes the checkout, the customer is redirected to the merchant
website using the success-URL provided in the sale request.
Line Items
Line items can be included in a sale request. Line items correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order.
For more information about how to properly format line items in your request, see
Using Line Items.
Tax Amounts
You can include the tax amount for every type of purchased product
in the
item_#_taxAmount
field when you request the
sale service.
Calculating the Grand Total
Include the grand total in the request by using the
When the customer completes the checkout using their LINE Pay
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
Save the request ID in the
requestID
field
from the sale response. Include the request ID in a check status request to
confirm that the payment is complete.
You can retrieve the status of a pending sale or refund by sending a check status request.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
You can refund a completed payment for the full amount or a partial amount by sending a refund request. LINE Pay supports multiple
refund requests when the total amount of all of the refund requests is less than the captured amount.
Requesting a refund requires the request ID from the sale
response. The request ID is located in the
responds to your refund request with one of these statuses as the
apRefundReply_status
field value:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Request the check status service to retrieve status updates. For more
information, see Check a Request Status.
The refund service also responds with a reason code as the
MB Way is a payment method offered by the Thunes payment service provider (PSP) that you
can offer your customers through
Cybersource
. You can process a payment
by sending a sale API request message to
Cybersource
.
Cybersource
sends your request to Thunes. Thunes approves the transaction and
sends the request to the processor for settlement. You can also send a refund and check
status API request as follow-on requests.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Country and Currency
This table lists the country, country code, and currency supported by MB Way.
Supported Country and Currency
Country
Country Code
Currency
Currency Code
Portugal
PT
Euro
EUR
Shipping Policy
Cross-border billing and shipping is supported for credit cards
issued in Portugal.
MB Way by Thunes Sale Workflow
This workflow illustrates the process of a successful MB Way sale.
Figure:
MB Way by Thunes Sale Workflow
The customer begins to checkout on the merchant's website and chooses the MB
Way payment method.
The merchant displays a confirmation of the completed payment to the
customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
Send a sale request to authorize and capture a payment in the same request.
The redirect URL and a pending status indicate a successful request. Redirect the
customer to the URL to allow the customer to complete the checkout using MB Way. When
the customer completes the checkout, the customer is redirected to your merchant website
based on the success URL you include in the
apSaleService_successURL
request field.
Cross-border billing and shipping is supported for credit cards issued in Portugal.
The customer must complete the checkout within
4 minutes of being redirected to the MB Way URL.
Transaction Restrictions
The maximum amount allowed for each transaction is 750€. Each customer account can
send and receive a maximum of 2500€ each month. The maximum amount of transactions a
customer is allowed to make each month is 50 and the customer's issuing bank
reserves the right to adjust this amount.
Line Items
Line items can be included in a sale request. Line items correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order.
For more information about how to properly format line items in your request, see
Using Line Items.
Tax Amounts
You can include the tax amount for every type of purchased product
in the
item_#_taxAmount
field when you request the
sale service.
Calculating the Grand Total
Include the grand total in the request by using the
responds to your sale request with one of these statuses in the
apSaleReply_status
field:
Sale Status
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Request the check status service every 60 minutes to retrieve
status updates. See Check a Request Status.
The sale service also responds with a reason code in the
When the customer completes the checkout using their MB Way
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
Save the request ID in the
requestID
field
from the sale response. Include the request ID in a check status request to
confirm that the payment is complete.
You can retrieve the status of a pending sale or refund by sending a check status request.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
You can refund a completed payment for the full amount or a partial amount by sending a refund request. MB Way supports multiple
refund requests when the total amount of all of the refund requests is less than the captured amount.
Requesting a refund requires the request ID from the sale
response. The request ID is located in the
requestID
response
field.
Refund Policy
You can issue a refund up to 60 days after the original purchase.
Transaction Restrictions
The maximum amount allowed for each transaction is 750€. Each customer account can
send and receive a maximum of 2500€ each month. The maximum amount of transactions a
customer is allowed to make each month is 50 and the customer's issuing bank
reserves the right to adjust this amount.
responds to your refund request with one of these statuses as the
apRefundReply_status
field value:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Request the check status service to retrieve status updates. For more
information, see Check a Request Status.
The refund service also responds with a reason code as the
Oney is a Buy Now Pay Later (BNPL) payment method offered by the Thunes payment service
provider (PSP) that you can offer your customers through
Cybersource
.
With Oney, merchants can enable their customers to split their payments into three or
four installments. These flexible payment options can help increase customer purchases
and create customer retention.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Countries and Currencies
This table lists the countries, country codes, and currencies supported by Oney.
Supported Countries and Currencies
Country
Country Code
Currency
Currency Code
Belgium
BE
Euro
EUR
France
FR
Euro
EUR
Italy
IT
Euro
EUR
Netherlands
NL
Euro
EUR
Portugal
PT
Euro
EUR
Spain
ES
Euro
EUR
Shipping Policy
Goods can be shipped when the authorization is status is
AUTHORIZED
.
Oney by Thunes Payment Workflow
This workflow describes the sequence of events that comprises a successful Oney
payment.
Figure:
Oney by Thunes Payment Workflow
The customer chooses the Oney payment method from among the available payment
methods shown on the merchant's checkout page.
The merchant sends the create a session API request to
Cybersource
. The session service creates a unique customer session.
SeeCreate a Session .
Cybersource
responds with a
PENDING
status, a
URL to redirect the customer, and a pre-approval token.
The merchant sends the customer to the redirect URL page.
The customer completes the checkout on the redirection page within 20
minutes.
The merchant sends an authorization API request to
Cybersource
with the pre-approval token and any optional details. See Authorize a Payment.
Cybersource
responds to the merchant with one of these
statuses:
AUTHORIZED
: The payment is successfully
authorized.
PENDING
: Either the authorization is being audited by
Oney or the customer has not completed the checkout using the
redirection URL. The merchant should send a check status request to
retrieve status updates. See Check a Transaction Status.
responds to the merchant with one of these
statuses:
PENDING
: The capture request is accepted but is not
SETTLED
. The merchant should send a check status
request to retrieve status updates. See Check a Transaction Status.
SETTLED
: The capture request is settled for the
requested amount.
Oney by Thunes Authorization-Reversal Workflow
This workflow describes the sequence of events that comprises a successful Oney
authorization-reversal.
Figure:
Oney by Thunes Authorization-Reversal Workflow
The customer chooses the Oney payment method from among the available payment
methods shown on the merchant's checkout page.
The merchant sends the create a session API request to
Cybersource
. The session service creates a unique customer session.
See Create a Session.
Cybersource
responds with
PENDING
status, a
URL to redirect the customer, and a pre-approval token.
The merchant sends the customer to the redirect URL page.
The customer completes the checkout on the redirection page within 20
minutes.
The merchant sends an authorization API request to
Cybersource
with the pre-approval token and any optional details. See Authorize a Payment.
Cybersource
responds to the merchant with one of these
statuses:
AUTHORIZED
: The payment is successfully
authorized.
PENDING
: Either the authorization is being audited by
Oney or the customer has not completed the checkout using the
redirection URL. The merchant should send a check status request to
retrieve status updates. See Check a Transaction Status.
The customer and merchant decide to cancel the payment, and the merchant sends
an authorization-reversal API request to
This workflow describes the sequence of events that comprises a successful Oney
refund.
Figure:
Oney by Thunes Refund Workflow
The customer chooses the Oney payment method from among the available payment
methods shown on the merchant's checkout page.
The merchant sends the create a session API request to
Cybersource
. The session service creates a unique customer session.
See Create a Session.
Cybersource
responds with
PENDING
status, a
URL to redirect the customer, and a pre-approval token.
The merchant sends the customer to the redirect URL page.
The customer completes the checkout on the redirection page within 20
minutes.
The merchant sends an authorization API request to
Cybersource
with the pre-approval token and any optional details. See Authorize a Payment.
Cybersource
responds to the merchant with one of these
statuses:
AUTHORIZED
: The payment is successfully
authorized.
PENDING
: Either the authorization is being audited by
Oney or the customer has not completed the checkout using the
redirection URL. The merchant should send a check status API request to
retrieve status updates. See Check a Transaction Status.
To create a session, you must include shipping fields in your request. The shipping field
values are included in the invoice Oney sends to the customer.
When the session request is complete, the response message includes a pre-approval token
from Oney. Use this pre-approval token when initializing the Oney authorization service.
The session response message also includes a redirection URL that remains available for
the customer up to 20 minutes after the session request.
Line Items
The session service requires you to include line items in your request. Line items
correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order. For
more information on how to use line items, see Using Line Items.
Tax Amounts
Include the tax amount for every type of purchased product in the
item_#_taxAmount
field when you request the sessions
service.
Calculating the Grand Total
Include the grand total in the request by using the
The session service responds with one of these statuses as the
apSessionReply_status
field value:
PENDING
: The session is initiated and the customer may now
checkout. Request the check status service to retrieve status updates. See
Check a Transaction Status.
The session service also responds with a reason code as the
When the customer completes the checkout using their Oney credentials, the
customer is redirected to the merchant site based on the URL that you included
in the
apSessionsService_successURL
field.
Save the returned pre-approval token contained in the
apSessionReply_processorToken
response field. Include
the pre-approval token in the authorization request to link the authorization to
the session.
The authorization service responds with one of these statuses as the
apAuthReply_status
field value:
AUTHORIZED
: The payment is successfully authorized.
FAILED
: The authorization request failed.
PENDING
: The authorization request is accepted but is not
authorized. Either the authorization is being audited by Oney or the customer
has not completed the checkout using the redirection URL. The merchant should
send a check status request to retrieve status updates. Request the check status
service to retrieve status updates. See Check a Transaction Status.
The authorization service also responds with a reason code as the
The authorization-reversal request enables you to reverse a transaction's authorized
amount. You may need to reverse an authorized payment when either you or the customer
decide to cancel a payment. Requesting an authorization-reversal requires the
requestID
from the authorization response.
Calculating the Grand Total
Include the grand total in the request by using the
The capture request enables you to capture an authorized payment. You can either capture
the entire amount in one request or request partial-capture amounts. Oney supports
multiple partial-capture requests when the total amount of all captures is less than the
authorized amount. Requesting a capture requires the
requestID
from the authorization response.
You can capture an authorized payment up to 28 days after the payment was authorized.
Calculating the Grand Total
Include the grand total in the request by using the
You can refund a completed payment for the full amount or a partial amount by sending a refund request. Oney supports multiple
refund requests when the total amount of all of the refund requests is less than the captured amount.
Requesting a refund requires the request ID from the capture response. The request ID is
located in the
responds to your refund request with one of these statuses as the
apRefundReply_status
field value:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Request the check status service to retrieve status updates. For more
information, see Check a Transaction Status.
The refund service also responds with a reason code as the
You can retrieve the current status of a pending authorization, reversal, capture, or
refund by sending a check status request. The check status request requires the request
ID from the corresponding transaction.
When a pending status updates, the check status request responds with the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
PayNow QR is a payment method offered by the Thunes payment service provider (PSP) that
you can offer your customers through
Cybersource
. You can process a
payment by sending a sale API request message to
Cybersource
.
Cybersource
sends your request to Thunes. Thunes approves the transaction and
sends the request to the processor for settlement. You can also send a refund and check
status API request as follow-on requests.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Country and Currency
This table lists the country and currency supported by PayNow QR.
Supported Country and Currency
Country
Country Code
Currency
Currency Code
Singapore
SG
Singapore Dollar
SGD
Shipping Policy
Goods can be shipped when the sale status is
SETTLED
.
PayNow QR by Thunes Payment
Workflow
This workflow describes the sequence of events that comprises a successful PayNow QR
payment.
Figure:
PayNow QR Sale Workflow
The customer begins to checkout on the merchant's website and chooses the PayNow QR
payment method.
The merchant displays a payment confirmation to the customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
Send a sale request to authorize and capture a payment in the same request. A successful
sale response includes a redirect URL and a pending status. Redirect the customer to the
URL to allow the customer to complete the checkout using PayNow QR.
When the customer completes the checkout, the customer is redirected to the merchant
website using the success-URL provided in the sale request.
Line Items
Line items can be included in a sale request. Line items correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order.
For more information about how to properly format line items in your request, see
Using Line Items.
Tax Amounts
You can include the tax amount for every type of purchased product
in the
item_#_taxAmount
field when you request the
sale service.
Calculating the Grand Total
Include the grand total in the request by using the
When the customer completes the checkout using their PayNow QR
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
Save the request ID in the
requestID
field
from the sale response. Include the request ID in a check status request to
confirm that the payment is complete.
You can retrieve the status of a pending sale or refund by sending a check status request.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
You can refund a completed payment for the full amount or a partial amount by sending a refund request. PayNow QR supports multiple
refund requests when the total amount of all of the refund requests is less than the captured amount.
Requesting a refund requires the request ID from the sale
response. The request ID is located in the
responds to your refund request with one of these statuses as the
apRefundReply_status
field value:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Request the check status service to retrieve status updates. For more
information, see Check a Request Status.
The refund service also responds with a reason code as the
PayPay is a payment method
offered by the Thunes payment service provider (PSP) that you can offer your customers
through
Cybersource
. You can process a payment by sending a sale API
request message to
Cybersource
.
Cybersource
sends your
request to Thunes. Thunes approves the transaction and sends the request to the
processor for settlement. You can also send a refund and check status API request as
follow-on services.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Country and Currency
This table lists the country, country code, and currency supported by PayPay.
Supported Country and Currency
Country
Country Code
Currency
Currency Code
Japan
JP
Japanese yen
JPY
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
PayPay by Thunes Payment Workflow
This workflow describes the sequence of events that comprises a successful PayPay
payment.
Figure:
PayPay Sale Workflow
The customer begins to checkout on the merchant's website and chooses the
PayPay payment method.
The merchant displays a confirmation of the completed payment to the
customer.
Transaction Statuses Workflow
Process a Sale
Send a sale request to authorize and capture a payment in the same request. A successful
sale response includes a redirect URL and a pending status. Redirect the customer to the
URL to allow the customer to complete the checkout using PayPay.
When the customer completes the checkout, the customer is redirected to the merchant
website using the success-URL provided in the sale request.
Line Items
Line items can be included in a sale request. Line items correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order.
For more information about how to properly format line items in your request, see
Using Line Items.
Tax Amounts
You can include the tax amount for every type of purchased product
in the
item_#_taxAmount
field when you request the
sale service.
Calculating the Grand Total
Include the grand total in the request by using the
responds to your sale request with one of these statuses in the
apSaleReply_status
field:
Sale Status
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Request the check status service every 60 minutes to retrieve
status updates. See Check a Request Status.
The sale service also responds with a reason code in the
When the customer completes the checkout using their PayPay
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
Save the request ID in the
requestID
field
from the sale response. Include the request ID in a check status request to
confirm that the payment is complete.
You can retrieve the status of a pending sale or refund by sending a check status request.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
You can refund a completed payment for the full amount or a partial amount by sending a refund request. PayPay supports multiple
refund requests when the total amount of all of the refund requests is less than the captured amount.
Requesting a refund requires the request ID from the sale
response. The request ID is located in the
responds to your refund request with one of these statuses as the
apRefundReply_status
field value:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Request the check status service to retrieve status updates. For more
information, see Check a Request Status.
The refund service also responds with a reason code as the
Przelewy24 (P24) is a payment method offered by the Thunes payment service provider (PSP)
that you can offer your customers through
Cybersource
. You can process a
payment by sending a sale API request message to
Cybersource
.
Cybersource
sends your request to Thunes. Thunes approves the transaction and
sends the request to the processor for settlement. You can also send a refund and check
status API request as follow-on requests.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Country and Currency
This table lists the country, country code, and currency supported by P24.
Supported Country and Currency
Country
Country Code
Currency Code
Poland
PL
PLN
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
P24 by Thunes Payment Workflow
This workflow describes the sequence of events that comprises a successful P24
payment.
Figure:
P24 by Thunes Payment Workflow
The customer begins to checkout on the merchant's website and chooses the P24
payment method.
The merchant displays a confirmation of the completed payment to the
customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
Send a sale request to authorize and capture a payment in the same request. A successful
sale response includes a redirect URL and a pending status. Redirect the customer to the
URL to allow the customer to complete the checkout using P24.
When the customer completes the checkout, the customer is redirected to the merchant
website using the success-URL provided in the sale request.
Line Items
Line items can be included in a sale request. Line items correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order.
For more information about how to properly format line items in your request, see
Using Line Items.
Tax Amounts
You can include the tax amount for every type of purchased product
in the
item_#_taxAmount
field when you request the
sale service.
Calculating the Grand Total
Include the grand total in the request by using the
responds to your sale request with one of these statuses in the
apSaleReply_status
field:
Sale Status
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Request the check status service every 60 minutes to retrieve
status updates. See Check a Request Status.
The sale service also responds with a reason code in the
When the customer completes the checkout using their Prz24
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
Save the request ID in the
requestID
field
from the sale response. Include the request ID in a check status request to
confirm that the payment is complete.
You can retrieve the status of a pending sale or refund by sending a check status request.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
You can refund a completed payment for the full amount or a partial amount by sending a refund request. P24 supports multiple
refund requests when the total amount of all of the refund requests is less than the captured amount.
Requesting a
refund requires the request ID from the sale response. The request ID is located in the
responds to your refund request with one of these statuses as the
apRefundReply_status
field value:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Request the check status service to retrieve status updates. For more
information, see Check a Request Status.
The refund service also responds with a reason code as the
PromptPay is a payment method offered by the Thunes payment service provider (PSP) that
you can offer your customers through
Cybersource
. You can process a
payment by sending a sale API request to
Cybersource
.
Cybersource
sends your request to Thunes. Thunes approves the transaction and
sends the request to the processor for settlement. You can also send a check status API
request to retrieve status updates of the processing sale. PromptPay does not support
refunds. To issue a refund to the customer, you must provide an alternative method of
reimbursement, such as cash or in-store credit.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Country and Currency
This table lists the country and currency supported by PromptPay.
Supported Currencies and Currency Codes
Country
Country Code
Currency
Currency Code
Thailand
TH
Thai Baht
THB
Shipping Policy
Goods can be shipped when the sale status is
SETTLED
.
Testing Information
PromptPay does not support a test endpoint.
Send all test transactions to the production endpoint.
PromptPay by Thunes Payment
Workflow
This workflow describes the sequence of events that comprises a successful PromptPay
payment.
Figure:
Payment Workflow
The customer begins to checkout on the merchant's website and chooses the
PromptPay payment method.
The merchant displays a confirmation of the completed payment to the
customer.
Transaction Statuses Workflow
This workflow describes the sequence of possible statuses you can receive when
processing a sale.
The merchant sends a sale API request to
Cybersource
and
receives one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Request the check status service to retrieve status updates.
The merchant sends a check status API request to
Cybersource
to
verify the status of the sale and receives one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The service request failed. A failed request
can be due to either a rejected transaction or a technical error.
PENDING
: The sale request is accepted but is not
completed. Request the check status service again after 60 minutes to
retrieve a status update.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
Process a Sale
Send a sale request to authorize and capture a payment in the same request. A successful
sale response includes a redirect URL and a pending status. Redirect the customer to the
URL to allow the customer to complete the checkout using PromptPay.
When the customer completes the checkout, the customer is redirected to the merchant
website using the success-URL provided in the sale request.
Line Items
Line items can be included in a sale request. Line items correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order.
For more information about how to properly format line items in your request, see
Using Line Items.
Tax Amounts
You can include the tax amount for every type of purchased product
in the
item_#_taxAmount
field when you request the
sale service.
Calculating the Grand Total
Include the grand total in the request by using the
PromptPay does not support a test endpoint.
Send all test transactions to the production endpoint.
Response Statuses
Cybersource
responds to your sale request with one of these statuses in the
apSaleReply_status
field:
Sale Status
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Request the check status service every 60 minutes to retrieve
status updates. See Check a Request Status.
The sale service also responds with a reason code in the
When the customer completes the checkout using their P24
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
Save the request ID in the
requestID
field
from the sale response. Include the request ID in a check status request to
confirm that the payment is complete.
You can retrieve the status of a pending sale or refund by sending a check status request.
The check status service is a follow-on service used to retrieve status updates of a
pending sale.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
ShopeePay is a payment method
offered by the Thunes payment service provider (PSP) that you can offer your customers
through
Cybersource
. You can process a payment by sending a sale API
request message to
Cybersource
.
Cybersource
sends your
request to Thunes. Thunes approves the transaction and sends the request to the
processor for settlement. You can also send a refund and check status API request as
follow-on services.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Currencies
This table lists the currencies supported by ShopeePay.
Supported Currencies and Currency Codes
Currency
Currency Code
IDR
Indonesian rupiah
MYR
Malaysian ringgit
PHP
Philippine peso
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
ShopeePay by Thunes Payment Workflow
This workflow describes the sequence of events that comprises a successful ShopeePay
payment.
Figure:
ShopeePay by Thunes Payment Workflow
The customer begins to checkout on the merchant's website and chooses the
ShopeePay payment method.
The merchant displays a confirmation of the completed payment to the
customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
Send a sale request to authorize and capture a payment in the same request. A successful
sale response includes a redirect URL and a pending status. Redirect the customer to the
URL to allow the customer to complete the checkout using ShopeePay.
When the customer completes the checkout, the customer is redirected to the merchant
website using the success-URL provided in the sale request.
Line Items
Line items can be included in a sale request. Line items correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order.
For more information about how to properly format line items in your request, see
Using Line Items.
Tax Amounts
You can include the tax amount for every type of purchased product
in the
item_#_taxAmount
field when you request the
sale service.
Calculating the Grand Total
Include the grand total in the request by using the
When the customer completes the checkout using their ShopeePay
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
Save the request ID in the
requestID
field
from the sale response. Include the request ID in a check status request to
confirm that the payment is complete.
You can retrieve the status of a pending sale or refund by sending a check status request.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
Response Statuses
Cybersource
responds to your check status request with one of
these statuses in the
apCheckStatusReply_status
field:
Check Status Responses for a Sale
ABANDONED
: The customer did not complete the
payment using the redirect URL.
FAILED
: The service request failed. A failed
request can be due to either ShopeePay rejecting
the transaction or a technical error.
FUNDED
: The settled amount is funded to the
merchant bank account.
PENDING
: The service request is accepted but is not
completed. Request the check status service to retrieve status
updates.
SETTLED
: The sale request is settled for the
requested amount.
Check Status Responses for a Refund
FAILED
: The service request failed. A failed
request can be due to either ShopeePay rejecting
the transaction or a technical error.
REFUNDED
: The settled amount is successfully
refunded.
The check status service also responds with a reason code in the
You can refund a completed payment for the full amount or a partial amount by sending a refund request. ShopeePay supports multiple
refund requests when the total amount of all of the refund requests is less than the captured amount.
Requesting a refund requires the request ID from the sale
response. The request ID is located in the
responds to your refund request with one of these statuses as the
apRefundReply_status
field value:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Request the check status service to retrieve status updates. For more
information, see Refund a Payment.
The refund service also responds with a reason code as the
Token is a payment method offered by the Thunes payment service provider (PSP) that you
can offer your customers through
Cybersource
. You can process a payment
by sending a sale API request to
Cybersource
.
Cybersource
sends your request to Thunes. Thunes approves the transaction and sends the request
to the processor for settlement. You can also send a check status API request to
retrieve status updates of the processing sale. Token does not support refunds. To issue
a refund to the customer, you must provide an alternative method of reimbursement, such
as cash or in-store credit.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Currencies
This table lists the currencies supported by Token.
Supported Currencies and Currency Codes
Currency
Currency Code
IDR
Indonesian rupiah
MYR
Malaysian ringgit
PHP
Philippine peso
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
Token by Thunes Payment
Workflow
This workflow describes the sequence of events that comprises a successful Token
payment.
Figure:
Token by Thunes Payment Workflow
The customer begins to checkout on the merchant's website and chooses the Token
payment method.
The merchant displays a payment confirmation to the customer.
Transaction Statuses Workflow
This workflow describes the sequence of possible statuses you can receive when processing
a Token transaction.
The merchant sends a sale API request to
Cybersource
and receives
one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Request the check status service to retrieve status updates.
The merchant sends a check status API request to
Cybersource
to
verify the status of the sale and receives one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The service request failed. A failed request
can be due to either Token rejecting the transaction or a technical
error.
PENDING
: The sale request is accepted but is not
completed. Request the check status service again after 60 minutes to
retrieve a status update.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
Process a Sale
Send a sale request to authorize and capture a payment in the same request. A successful
sale response includes a redirect URL and a pending status. Redirect the customer to the
URL to allow the customer to complete the checkout using Token.
When the customer completes the checkout, the customer is redirected to the merchant
website using the success-URL provided in the sale request.
Line Items
Line items can be included in a sale request. Line items correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order.
For more information about how to properly format line items in your request, see
Using Line Items.
Tax Amounts
You can include the tax amount for every type of purchased product
in the
item_#_taxAmount
field when you request the
sale service.
Calculating the Grand Total
Include the grand total in the request by using the
responds to your sale request with one of these statuses in the
apSaleReply_status
field:
Sale Status
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Request the check status service every 60 minutes to retrieve
status updates. See Check a Request Status.
The sale service also responds with a reason code in the
When the customer completes the checkout using their Token
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
Save the request ID in the
requestID
field
from the sale response. Include the request ID in a check status request to
confirm that the payment is complete.
You can retrieve the status of a pending sale or refund by sending a check status request.
The check status service is a follow-on service used to retrieve status updates of a
pending sale.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
TrueLayer is a payment method offered by the Thunes
payment service provider (PSP) that you can offer your customers through
Cybersource
. You can process a payment by sending a sale API request to
Cybersource
.
Cybersource
sends your request to
Thunes. Thunes approves the transaction and sends the request to the processor for
settlement. You can also send a check status API request to retrieve status updates of
the processing sale. TrueLayer does not support refunds. To issue a refund to the
customer, you must provide an alternative method of reimbursement, such as cash or
in-store credit.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Shipping Policy
Goods can be shipped when the sale status is
SETTLED
.
TrueLayer by Thunes Payment
Workflow
This workflow describes the sequence of events that comprises a successful TrueLayer
payment.
Figure:
TrueLayer by Thunes Payment Workflow
The customer begins to checkout on the merchant's website and chooses the
TrueLayer payment method.
The merchant displays a payment confirmation to the customer.
Transaction Statuses Workflow
This workflow describes the sequence of possible statuses you can receive when
processing a sale.
The merchant sends a sale API request to
Cybersource
and
receives one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Request the check status service to retrieve status updates.
The merchant sends a check status API request to
Cybersource
to
verify the status of the sale and receives one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The service request failed. A failed request
can be due to either a rejected transaction or a technical error.
PENDING
: The sale request is accepted but is not
completed. Request the check status service again after 60 minutes to
retrieve a status update.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
Process a Sale
Send a sale request to authorize and capture a payment in the same request. A successful
sale response includes a redirect URL and a pending status. Redirect the customer to the
URL to allow the customer to complete the checkout using TrueLayer.
When the customer completes the checkout, the customer is redirected to the merchant
website using the success-URL provided in the sale request.
Line Items
Line items can be included in a sale request. Line items correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order.
For more information about how to properly format line items in your request, see
Using Line Items.
Tax Amounts
You can include the tax amount for every type of purchased product
in the
item_#_taxAmount
field when you request the
sale service.
Calculating the Grand Total
Include the grand total in the request by using the
responds to your sale request with one of these statuses in the
apSaleReply_status
field:
Sale Status
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Request the check status service every 60 minutes to retrieve
status updates. See Check a Request Status.
The sale service also responds with a reason code in the
When the customer completes the checkout using their TrueLayer
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
Save the request ID in the
requestID
field
from the sale response. Include the request ID in a check status request to
confirm that the payment is complete.
You can retrieve the status of a pending sale or refund by sending a check status request.
The check status service is a follow-on service used to retrieve status updates of a
pending sale.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
Trustly
is a payment method offered by the Thunes payment service provider (PSP) that you can
offer your customers through
Cybersource
. You can process a payment by
sending a sale API request message to
Cybersource
.
Cybersource
sends your request to Thunes. Thunes approves the transaction and
sends the request to the processor for settlement. You can also send a refund and check
status API request as follow-on requests.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Countries and Currencies
This table lists the countries and their corresponding country codes that are
supported by Trustly.
Supported Countries and Country Codes
Country
Country Code
Austria
AT
Czech Republic
CZ
Denmark
DK
Estonia
EE
Finland
FI
Germany
DE
Latvia
LV
Lithuania
LT
Netherlands
NL
Norway
NO
Poland
PL
Spain
ES
Sweden
SE
United Kingdom
GB
This table lists the currencies and their corresponding currency codes that are
supported by Trustly. Additional currencies are accepted by Trustly, and when
included in an API request, the accepted currencies are converted into one of the
listed supported currencies.
Supported Currencies and Currency Codes
Currency
Currency Code
Bulgarian lev
BGN
Croatian kuna
HRK
Czech koruna
CZK
Danish krone
DKK
Euro
EUR
Forint
HUF
Romanian leu
RON
Norwegian krone
NOK
Polish zloty
PLN
British pound sterling
GBP
Swedish krona
SEK
Shipping Policy
Goods can be shipped when the sale status is
SETTLED
.
Trustly by Thunes Payment Workflow
This workflow describes the sequence of events that comprises a successful Trustly
payment.
Figure:
Trustly by Thunes Payment Workflow
The customer begins to checkout on the merchant's website and chooses the
Trustly payment method.
The merchant displays a confirmation of the completed payment to the
customer.
Transaction Statuses Workflow
Process a Sale
Send a sale request to authorize and capture a payment in the same request. A successful
sale response includes a redirect URL and a pending status. Redirect the customer to the
URL to allow the customer to complete the checkout using Trustly.
When the customer completes the checkout, the customer is redirected to the merchant
website using the success-URL provided in the sale request.
Line Items
Line items can be included in a sale request. Line items correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order.
For more information about how to properly format line items in your request, see
Using Line Items.
Tax Amounts
You can include the tax amount for every type of purchased product
in the
item_#_taxAmount
field when you request the
sale service.
Calculating the Grand Total
Include the grand total in the request by using the
responds to your sale request with one of these statuses in the
apSaleReply_status
field:
Sale Status
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Request the check status service every 60 minutes to retrieve
status updates. See Check a Request Status.
The sale service also responds with a reason code in the
When the customer completes the checkout using their Trustly
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
Save the request ID in the
requestID
field
from the sale response. Include the request ID in a check status request to
confirm that the payment is complete.
You can retrieve the status of a pending sale or refund by sending a check status request.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
You can refund a completed payment for the full amount or a partial amount by sending a refund request. Trustly supports multiple
refund requests when the total amount of all of the refund requests is less than the captured amount.
Requesting a refund requires the request ID from the sale
response. The request ID is located in the
responds to your refund request with one of these statuses as the
apRefundReply_status
field value:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Request the check status service to retrieve status updates. For more
information, see Check a Request Status.
The refund service also responds with a reason code as the
Turkey card processing is a payment method offered by the Thunes payment service provider
(PSP) that you can offer your customers through
Cybersource
. To process
a payment, send a sale API request message to
Cybersource
.
Cybersource
sends the request to Thunes. Thunes approves the transaction and
sends the request to the processor for settlement. You can also send a refund and check
status API request as follow-on requests.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Country and Currency
This table lists the country, country code, and currency supported by Turkey credit
card processing.
Supported Country and Currency
Country
Country Code
Currency Code
Supported Card Types
Turkey
TR
TRY
Mastercard
Troy
Visa
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
Turkey Card Processing by Thunes Payment Workflow
This workflow illustrates the process of a Turkey local card payment.
Figure:
Turkey credit card processing by Thunes Payment Workflow
The customer begins to checkout on the merchant's website and chooses to pay
with their credit or debit card.
The merchant displays a confirmation of the completed payment to the
customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
Send a sale request to authorize and capture a payment in the same request. A successful
sale response includes a redirect URL and a pending status. Redirect the customer to the
URL to allow the customer to complete the checkout using Turkey credit card processing.
When the customer completes the checkout, the customer is redirected to the merchant
website using the success-URL provided in the sale request.
Line Items
Line items can be included in a sale request. Line items correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order.
For more information about how to properly format line items in your request, see
Using Line Items.
Tax Amounts
You can include the tax amount for every type of purchased product
in the
item_#_taxAmount
field when you request the
sale service.
Calculating the Grand Total
Include the grand total in the request by using the
When the customer completes the checkout using their card
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
Save the request ID in the
requestID
field from the
sale response. Include the request ID in a check status request to confirm that
the payment is complete.
You can retrieve the status of a pending sale or refund by sending a check status request.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
You can refund a completed payment for the full amount or a partial amount by sending a
refund request. Turkey card processing supports multiple refund requests when the total
amount of all of the refund requests is less than the captured amount.
Requesting a refund requires the request ID from the sale
response. The request ID is located in the
responds to your refund request with one of these statuses as the
apRefundReply_status
field value:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Request the check status service to retrieve status updates. For more
information, see Check a Request Status.
The refund service also responds with a reason code as the
Twint is a payment method offered by the Thunes payment service provider (PSP) that you
can offer your customers through
Cybersource
. You can process a payment
by sending a sale API request message to
Cybersource
.
Cybersource
sends your request to Thunes. Thunes approves the transaction and
sends the request to the processor for settlement. You can also send a refund and check
status API request as follow-on requests.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Country and Currency
This table lists the country, country code, and currency supported by Twint.
Supported Country and Currency
Country
Country Code
Currency Code
Switzerland
CH
CHF
Shipping Policy
Goods can be shipped when the sale status is
SETTLED
.
Twint by Thunes Payment Workflow
This workflow describes the sequence of events that comprises a successful Twint
payment.
Figure:
Twint by Thunes Payment Workflow
The customer begins to checkout on the merchant's website and chooses the Twint
payment method.
The merchant displays a confirmation of the completed payment to the
customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
Send a sale request to authorize and capture a payment in the same request. A successful
sale response includes a redirect URL and a pending status. Redirect the customer to the
URL to allow the customer to complete the checkout using Twint.
When the customer completes the checkout, the customer is redirected to the merchant
website using the success-URL provided in the sale request.
Line Items
Line items can be included in a sale request. Line items correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order.
For more information about how to properly format line items in your request, see
Using Line Items.
Tax Amounts
You can include the tax amount for every type of purchased product
in the
item_#_taxAmount
field when you request the
sale service.
Calculating the Grand Total
Include the grand total in the request by using the
responds to your sale request with one of these statuses in the
apSaleReply_status
field:
Sale Status
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Request the check status service every 60 minutes to retrieve
status updates. See Check a Request Status.
The sale service also responds with a reason code in the
When the customer completes the checkout using their Twint
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
Save the request ID in the
requestID
field
from the sale response. Include the request ID in a check status request to
confirm that the payment is complete.
You can retrieve the status of a pending sale or refund by sending a check status request.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
You can refund a completed payment for the full amount or a partial amount by sending a refund request. Twint supports multiple
refund requests when the total amount of all of the refund requests is less than the captured amount.
Requesting a refund requires the request ID from the sale
response. The request ID is located in the
responds to your refund request with one of these statuses as the
apRefundReply_status
field value:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Request the check status service to retrieve status updates. For more
information, see Check a Transaction Status.
The refund service also responds with a reason code as the
This section contains helpful information that you can use when processing
transactions.
Using Line Items
This section describes how to format line items in your API requests.
Some Thunes API requests require line items or allow you include line items in
addition to the required request information. Line items are used to include
information about the goods that customers purchase, such as product name, quantity,
and price.
Line items correspond to the
item_#_
fields, starting
with
item_0_
and increasing in numerical order.
Figure:
Required Fields for Line Items
These fields are required for each line item included in your request:
Response fields and reason codes can be
added at any time.
Cybersource
recommends these best practices to
ensure you keep up-to-date with the latest possible responses:
Parse the response data according to the field names instead of the field
order in the response message. For more information about parsing response
fields, see the documentation for your client.
Your error handler must be able to process new reason codes without
problems.
Your error handler must use the
decision
field to
determine the result if it receives a reason code that it does not
recognize.
This table lists the possible reason codes that are returned by the
Simple Order API
in the
reasonCode
field. For a list
of all of the possible reason codes and descriptions, see the
The request is missing one or more
required fields. Examine the response fields
missingField_0
through
missingField_N
to identify which fields are
missing. Resend the request with all the required fields.
102
10000—status: failed.
One or more fields in the request
contain invalid data. Examine the response fields
invalidField_0
through
invalidField_N
to identify which fields are
invalid. Resend the request with valid data.
150
20000—status: failed.
20001—status: failed.
20002—status: failed.
30000—status: failed.
30100—status: failed.
A system error caused the request to fail. You must design your
transaction management system to include a way to correctly
handle system errors. Depending on which payment processor is
handling the transaction, the error might indicate a valid
Cybersource
system error, or it might
indicate a processor rejection because of invalid data. For
either reason,
Cybersource
recommends you to not
design your system to keep resending a transaction when a system
error occurs. See the documentation for the
Cybersource
client (SDK) that you are using for
important information about how to handle system errors and
retries.
Other possible reasons for a failed status:
The signature was not included in the HTTP header.
The signature in the HTTP header has expired or it is
not a valid signature.
151
The request was received but a server
timeout occurred. This error does not include timeouts that occur
between the client and the server. To avoid duplicating the
transaction, do not resend the request until you have reviewed the
transaction status in the
Business Center
. See the
documentation for your
Cybersource
client for
information about handling retries in the case of system
errors.
152
The request was received, but a service
did not finish processing in time. To avoid duplicating the
transaction, do not resend the request until you have reviewed the
transaction status in the
Business Center
. See the
documentation for your
Cybersource
client for
information about handling retries in the case of system
errors.
153
Your account is not enabled for the OCT
service. Contact your
Cybersource
account manager to
have your account enabled for this service.
202
The payment method is expired. You
might also receive this value if the expiration date that you
provided does not match the date that the issuing bank has on file.
Request a different form of payment.
203
30000—status: failed.
30100—status: failed.
30200—status: failed.
30400—status: failed.
30500—status: failed.
The payment method was declined. No
other information was provided by the issuing bank. Request a
different form of payment.
204
30350—status: failed.
The account does not contain sufficient
funds. Request a different form of payment.
223
30600—status: failed.
30700—status: failed.
The processor declined the transaction
due to tax errors or government compliance errors.
233
30600—status: failed.
30700—status: failed.
The processor declined the payment
method. For more information about the decline, search for the
transaction in the
Business Center
and view the transaction
details. Request a different form of payment.
Generating Reports In the
Business Center
You can generate various types of reports for your financial and reconciliation data. For
more information about how to automate your reports, see the
with the sale
request ID. For more information, see Refund a Payment.
Cybersource
responds to you with a
REFUNDED
status and refund request ID.
You send a check status request to
Cybersource
to verify the
refund status.
Cybersource
respond to you with a
REFUNDED
status.
You confirm the refund to the customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
This section describes how to send a sale request to process a payment.
A sale request authorizes and captures a payment in the same request. A successful sale
response includes an iDEAL redirect URL and a
PENDING
status. Redirect
the customer to the iDEAL URL to allow the customer to complete the checkout using their
iDEAL account. When the customer completes the checkout, the customer is redirected to
your website.
When you receive a successful response, save the sale request ID in the
requestID
response
field to perform a follow-on check status request or refund request.
Calculating the Grand Total
Include the grand total in the request by using the
When the customer completes the checkout using their iDEAL
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
request field.
Save the request ID in the
requestID
field from the
sale response. Include the request ID in a check status request to confirm that
the payment is complete.
responds to your sale request with one of these statuses
in the field:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed. Send a check status request as often as necessary to obtain the information that you need.
For more information, see Check a Transaction Status.
Check a Transaction Status
This section describes how to retrieve the current status of a sale or refund. Send a
check status request to know if a pending sale is settled, or to verify that a refund
request is refunded. Use the check status request as often as necessary to obtain the
information that you need.
The check status request requires the request ID from the sale or refund response. The
request ID is in the
responds to your check status request with one of these
statuses in the
field:
Check Status Responses for a Sale
ABANDONED
: The customer did not complete the
payment using the redirect URL.
FAILED
: The service request failed. A failed
request can be due to either iDEAL rejecting the transaction or a
technical error.
FUNDED
: The settled amount is funded to the
merchant bank account.
PENDING
: The service request is accepted but is not
completed. Request the check status service to retrieve status
updates.
SETTLED
: The sale request is settled for the
requested amount.
Check Status Responses for a Refund
FAILED
: The service request failed. A failed
request can be due to either iDEAL rejecting the transaction or a
technical error.
REFUNDED
: The settled amount is successfully
refunded.
Refund a Payment
This section describes how to refund a payment. You can refund a settled payment for the
full amount or a partial amount by sending a refund request. Multiple partial refund
requests are also supported, and the total amount of all of the refund requests must be
less than the settled amount.
Requesting a refund requires the sale request ID from the sale response. The sale request
ID is in the
responds to your refund request with one of these
statuses in the
field:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Send a check status request to verify that the status is refunded. For more
information, see Check a Transaction Status.
MercadoPago Transaction Requests
MercadoPago is a payment method offered by the Thunes payment service provider (PSP) that
you can offer your customers through
Cybersource
. With MercadoPago you
can process payments, refund payments, and retrieve the status of a pending payment or
refund.
This section describes how to process MercadoPago transactions using the
Simple Order API
.
Requirement
You must receive a Thunes merchant ID before you can begin processing payments.
Contact your
Cybersource
account manager for more information.
Supported Countries and Currencies
This table lists the countries and currencies that are supported by MercadoPago.
Supported Countries and Currencies
Supported Countries
Country Codes
Supported Currencies
Currency Codes
Argentina
AR
Argentine peso
ARS
Brazil
BR
Brazilian real
BRL
Chile
CL
Chilean peso
CLP
Mexico
MX
Mexican peso
MXN
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
MercadoPago by Thunes Transaction Workflow
This workflow describes the sequence of events that comprises a successful
MercadoPago payment and refund.
Figure:
MercadoPago by Thunes Transaction Workflow
The customer begins to checkout on your website and chooses the MercadoPago
payment method.
with the sale
request ID. For more information, see Refund a Payment.
Cybersource
responds to you with a
REFUNDED
status and refund request ID.
You send a check status request to
Cybersource
to verify the
refund status.
Cybersource
respond to you with a
REFUNDED
status.
You confirm the refund to the customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
This section describes how to send a sale request to process a payment.
A sale request authorizes and captures a payment in the same request. A successful sale
response includes an MercadoPago redirect URL and a
PENDING
status.
Redirect the customer to the MercadoPago URL to allow the customer to complete the
checkout using their MercadoPago account. When the customer completes the checkout, the
customer is redirected to your website.
When you receive a successful response, save the sale request ID in the
requestID
response
field to perform a follow-on check status request or refund request.
Calculating the Grand Total
Include the grand total in the request by using the
When the customer completes the checkout using their
MercadoPago credentials, the customer is redirected to the merchant website
based on the URL that you included in the
apSaleService_successURL
request field.
Save the request ID in the
requestID
field from the sale response. Include the request ID in
a check status request to confirm that the payment is complete.
responds to your sale request with one of these statuses
in the field:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Send a check status request as often as necessary to obtain the information you
need. For more information, see Check a Transaction Status.
Check a Transaction Status
This section describes how to retrieve the current status of a sale or refund. Send a
check status request to know if a pending sale is settled, or to verify that a refund
request is refunded. Use the check status request as often as necessary to obtain the
information that you need.
The check status request requires the request ID from the sale or refund response. The
request ID is in the
responds to your check status request with one of these
statuses in the
field:
Check Status Responses for a Sale
ABANDONED
: The customer did not complete the
payment using the redirect URL.
FAILED
: The service request failed. A failed
request can be due to either MercadoPago rejecting the transaction
or a technical error.
FUNDED
: The settled amount is funded to the
merchant bank account.
PENDING
: The service request is accepted but is not
completed. Request the check status service to retrieve status
updates.
SETTLED
: The sale request is settled for the
requested amount.
Check Status Responses for a Refund
FAILED
: The service request failed. A failed
request can be due to either MercadoPago rejecting the transaction
or a technical error.
REFUNDED
: The settled amount is successfully
refunded.
Refund a Payment
This section describes how to refund a payment. You can refund a settled payment for the
full amount or a partial amount by sending a refund request. Multiple partial refund
requests are also supported, and the total amount of all of the refund requests must be
less than the settled amount.
Requesting a refund requires the sale request ID from the sale response. The sale request
ID is in the
responds to your refund request with one of these
statuses in the
field:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Send a check status request to verify that the status is refunded. For more
information, see Check a Transaction Status.
Pluxee Transaction Requests
Pluxee, previously known as
Sodexo
, is a payment method offered by the Thunes
payment service provider (PSP) that you can offer your customers through
Cybersource
. With Pluxee you can process payments, refund payments, and
retrieve the status of a pending payment or refund.
This section describes how to process Pluxee transactions using the
Simple Order API
.
Requirement
You must receive a Thunes merchant ID before you can begin processing payments.
Contact your
Cybersource
account manager for more information.
Supported Country and Currency
This table lists the country and currency that is supported by Pluxee.
Supported Country and Currency
Supported Country
Country Code
Supported Currency
Currency Code
France
FR
Euro
EUR
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
Pluxee by Thunes Transaction Workflow
This workflow describes the sequence of events that comprises a successful Pluxee
payment and refund.
Figure:
Pluxee by Thunes Transaction Workflow
The customer begins to checkout on your website and chooses the Pluxee payment
method.
with the sale
request ID. For more information, see Refund a Payment.
Cybersource
responds to you with a
REFUNDED
status and refund request ID.
You send a check status request to
Cybersource
to verify the
refund status.
Cybersource
respond to you with a
REFUNDED
status.
You confirm the refund to the customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
This section describes how to send a sale request to process a payment.
A sale request authorizes and captures a payment in the same request. A successful sale
response includes an Pluxee redirect URL and a
PENDING
status. Redirect
the customer to the Pluxee URL to allow the customer to complete the checkout using
their Pluxee account. When the customer completes the checkout, the customer is
redirected to your website.
When you receive a successful response, save the sale request ID in the
requestID
response
field to perform a follow-on check status request or refund request.
Calculating the Grand Total
Include the grand total in the request by using the
When the customer completes the checkout using their Pluxee
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
request field.
Save the request ID in the
requestID
field from the
sale response. Include the request ID in a check status request to confirm that
the payment is complete.
responds to your sale request with one of these statuses
in the field:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Send a check status request as often as necessary to obtain the information that you need.
For more information, see Check a Transaction Status.
Check a Transaction Status
This section describes how to retrieve the current status of a sale or refund. Send a
check status request to know if a pending sale is settled, or to verify that a refund
request is refunded. Use the check status request as often as necessary to obtain the
information that you need.
The check status request requires the request ID from the sale or refund response. The
request ID is in the
responds to your check status request with one of these
statuses in the
field:
Check Status Responses for a Sale
ABANDONED
: The customer did not complete the
payment using the redirect URL.
FAILED
: The service request failed. A failed
request can be due to either Pluxee rejecting the transaction or a
technical error.
FUNDED
: The settled amount is funded to the
merchant bank account.
PENDING
: The service request is accepted but is not
completed. Request the check status service to retrieve status
updates.
SETTLED
: The sale request is settled for the
requested amount.
Check Status Responses for a Refund
FAILED
: The service request failed. A failed
request can be due to either Pluxee rejecting the transaction or a
technical error.
REFUNDED
: The settled amount is successfully
refunded.
Refund a Payment
This section describes how to refund a payment. You can refund a settled payment for the
full amount or a partial amount by sending a refund request. Multiple partial refund
requests are also supported, and the total amount of all of the refund requests must be
less than the settled amount.
Requesting a refund requires the sale request ID from the sale response. The sale request
ID is in the
responds to your refund request with one of these
statuses in the
field:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Send a check status request to verify that the status is refunded. For more
information, see Check a Transaction Status.
GroupUp Transaction Requests
GroupUp is a payment method offered by the Thunes payment service provider (PSP) that you
can offer your customers through
Cybersource
. With GroupUp you can
process payments, refund payments, and retrieve the status of a pending payment or
refund.
This section describes how to process GroupUp transactions using the
Simple Order API
.
Requirement
You must receive a Thunes merchant ID before you can begin processing payments.
Contact your
Cybersource
account manager for more information.
Supported Country and Currency
This table lists the country and currency that is supported by GroupUp.
Supported Country and Currency
Supported Country
Country Code
Supported Currency
Currency Code
France
FR
Euro
EUR
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
GroupUp by Thunes Transaction Workflow
This workflow describes the sequence of events that comprises a successful GroupUp
payment and refund.
Figure:
GroupUp by Thunes Transaction Workflow
The customer begins to checkout on your website and chooses the GroupUp
payment method.
with the sale
request ID. For more information, see Refund a Payment.
Cybersource
responds to you with a
REFUNDED
status and refund request ID.
You send a check status request to
Cybersource
to verify the
refund status.
Cybersource
respond to you with a
REFUNDED
status.
You confirm the refund to the customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
This section describes how to send a sale request to process a payment.
A sale request authorizes and captures a payment in the same request. A successful sale
response includes an GroupUp redirect URL and a
PENDING
status.
Redirect the customer to the GroupUp URL to allow the customer to complete the checkout
using their GroupUp account. When the customer completes the checkout, the customer is
redirected to your website.
When you receive a successful response, save the sale request ID in the
requestID
response
field to perform a follow-on check status request or refund request.
Calculating the Grand Total
Include the grand total in the request by using the
When the customer completes the checkout using their GroupUp
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
request field.
Save the request ID in the
requestID
field from the
sale response. Include the request ID in a check status request to confirm that
the payment is complete.
responds to your sale request with one of these statuses
in the field:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Send a check status request as often as necessary to obtain the information that you need.
For more information, see Check a Transaction Status.
Check a Transaction Status
This section describes how to retrieve the current status of a sale or refund. Send a
check status request to know if a pending sale is settled, or to verify that a refund
request is refunded. Use the check status request as often as necessary to obtain the
information that you need.
The check status request requires the request ID from the sale or refund response. The
request ID is in the
responds to your check status request with one of these
statuses in the
field:
Check Status Responses for a Sale
ABANDONED
: The customer did not complete the
payment using the redirect URL.
FAILED
: The service request failed. A failed
request can be due to either GroupUp rejecting the transaction or a
technical error.
FUNDED
: The settled amount is funded to the
merchant bank account.
PENDING
: The service request is accepted but is not
completed. Request the check status service to retrieve status
updates.
SETTLED
: The sale request is settled for the
requested amount.
Check Status Responses for a Refund
FAILED
: The service request failed. A failed
request can be due to either GroupUp rejecting the transaction or a
technical error.
REFUNDED
: The settled amount is successfully
refunded.
Refund a Payment
This section describes how to refund a payment. You can refund a settled payment for the
full amount or a partial amount by sending a refund request. Multiple partial refund
requests are also supported, and the total amount of all of the refund requests must be
less than the settled amount.
Requesting a refund requires the sale request ID from the sale response. The sale request
ID is in the
responds to your refund request with one of these
statuses in the
field:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Send a check status request to verify that the status is refunded. For more
information, see Check a Transaction Status.
Bancontact Transaction Requests
Bancontact is a payment method offered by the Thunes payment service provider (PSP) that
you can offer your customers through
Cybersource
. With Bancontact you
can process payments, refund payments, and retrieve the status of a pending payment or
refund.
This section describes how to process Bancontact transactions using the
Simple Order API
.
Requirement
You must receive a Thunes merchant ID before you can begin processing payments.
Contact your
Cybersource
account manager for more information.
Supported Country and Currency
This table lists the country and currency that is supported by Bancontact.
Supported Country and Currency
Supported Country
Country Code
Supported Currency
Currency Code
Belgium
BE
Euro
EUR
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
Bancontact by Thunes Transaction Workflow
This workflow describes the sequence of events that comprises a successful Bancontact
payment and refund.
Figure:
Bancontact by Thunes Transaction Workflow
The customer begins to checkout on your website and chooses the Bancontact
payment method.
with the sale
request ID. For more information, see Refund a Payment.
Cybersource
responds to you with a
REFUNDED
status and refund request ID.
You send a check status request to
Cybersource
to verify the
refund status.
Cybersource
respond to you with a
REFUNDED
status.
You confirm the refund to the customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
This section describes how to send a sale request to process a payment.
A sale request authorizes and captures a payment in the same request. A successful sale
response includes an Bancontact redirect URL and a
PENDING
status.
Redirect the customer to the Bancontact URL to allow the customer to complete the
checkout using their Bancontact account. When the customer completes the checkout, the
customer is redirected to your website.
When you receive a successful response, save the sale request ID in the
requestID
response
field to perform a follow-on check status request or refund request.
Calculating the Grand Total
Include the grand total in the request by using the
When the customer completes the checkout using their Bancontact
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
request field.
Save the request ID in the
requestID
field from the sale response. Include the request ID in
a check status request to confirm that the payment is complete.
responds to your sale request with one of these statuses
in the field:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed. Send a check status request as often as necessary to obtain the information that you need.
For more information, see Check a Transaction Status.
Check a Transaction Status
This section describes how to retrieve the current status of a sale or refund. Send a
check status request to know if a pending sale is settled, or to verify that a refund
request is refunded. Use the check status request as often as necessary to obtain the
information that you need.
The check status request requires the request ID from the sale or refund response. The
request ID is in the
responds to your check status request with one of these
statuses in the
field:
Check Status Responses for a Sale
ABANDONED
: The customer did not complete the
payment using the redirect URL.
FAILED
: The service request failed. A failed
request can be due to either Bancontact rejecting the transaction or
a technical error.
FUNDED
: The settled amount is funded to the
merchant bank account.
PENDING
: The service request is accepted but is not
completed. Request the check status service to retrieve status
updates.
SETTLED
: The sale request is settled for the
requested amount.
Check Status Responses for a Refund
FAILED
: The service request failed. A failed
request can be due to either Bancontact rejecting the transaction or
a technical error.
REFUNDED
: The settled amount is successfully
refunded.
Refund a Payment
This section describes how to refund a payment. You can refund a settled payment for the
full amount or a partial amount by sending a refund request. Multiple partial refund
requests are also supported, and the total amount of all of the refund requests must be
less than the settled amount.
Requesting a refund requires the sale request ID from the sale response. The sale request
ID is in the
responds to your refund request with one of these
statuses in the
field:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Send a check status request to verify that the status is refunded. For more
information, see Check a Transaction Status.
ANCV Connect Transaction Requests
ANCV Connect is a payment method offered by the Thunes payment service
provider (PSP) that you can offer your customers through
Cybersource
.
With ANCV Connect you can process payments, refund payments, and retrieve the status of a pending
payment or refund.
This section describes how to process ANCV Connect transactions using the
Simple Order API
.
Requirement
You must receive a Thunes merchant ID before you can begin processing payments.
Contact your
Cybersource
account manager for more information.
Supported Country and Currency
This table lists the country and currency that is supported by ANCV Connect.
Supported Country and Currency
Supported Country
Country Code
Supported Currency
Currency Code
France
FR
Euro
EUR
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
ANCV Connect by Thunes Transaction Workflow
This workflow describes the sequence of events that comprises a successful ANCV Connect
payment and refund.
Figure:
ANCV Connect Transaction Workflow
The customer begins to checkout on your website and chooses the ANCV Connect
payment method.
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
This section describes how to send a sale request to process a payment.
A sale request authorizes and captures a payment in the same request. A successful sale
response includes an ANCV Connect redirect URL and a
PENDING
status.
Redirect the customer to the ANCV Connect URL to allow the customer to complete the
checkout using their ANCV Connect account. When the customer completes the checkout, the
customer is redirected to your website.
When you receive a successful response, save the sale request ID in the
requestID
response
field to perform a follow-on check status request or refund request.
Calculating the Grand Total
Include the grand total in the request by using the
When the customer completes the checkout using their ANCV Connect
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
request field.
Save the request ID in the
requestID
field from the
sale response. Include the request ID in a check status request to confirm that
the payment is complete.
responds to your sale request with one of these statuses
in the field:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Send a check status request as often as necessary to obtain the information that
you need. For more information, see Check a Status.
Check a Status
This section describes how to retrieve the current status of a sale or refund. Send a
check status request to know if a pending sale is settled, or to verify that a refund
request is refunded. Use the check status request as often as necessary to obtain the
information that you need.
The check status request requires the request ID from the sale or refund response. The
request ID is in the
responds to your check status request with one of these
statuses in the
field:
Check Status Responses for a Sale
ABANDONED
: The customer did not complete the
payment using the redirect URL.
FAILED
: The service request failed. A failed
request can be due to either ANCV Connect rejecting the transaction or
a technical error.
FUNDED
: The settled amount is funded to the
merchant bank account.
PENDING
: The service request is accepted but is not
completed. Request the check status service to retrieve status
updates.
SETTLED
: The sale request is settled for the
requested amount.
Check Status Responses for a Refund
FAILED
: The service request failed. A failed
request can be due to either ANCV Connect rejecting the transaction or
a technical error.
REFUNDED
: The settled amount is successfully
refunded.
Refund a Payment
This section describes how to refund a payment. You can refund a settled payment for the
full amount or a partial amount by sending a refund request. Multiple partial refund
requests are also supported, and the total amount of all of the refund requests must be
less than the settled amount.
Requesting a refund requires the sale request ID from the sale response. The sale request
ID is in the
responds to your refund request with one of these statuses
in the field:
FAILED
: The refund cannot be completed.
PENDING
: The refund request is accepted but is not completed.
Send a check status request as often as necessary to obtain the information that
you need. For more information, see Check a Status.
Bizum Transaction Requests
Bizum is a payment method offered by the Thunes payment service provider (PSP) that you
can offer your customers through
Cybersource
. You can process a payment
by sending a sale API request message to
Cybersource
.
Cybersource
sends your request to Thunes. Thunes approves the transaction and
sends the request to the processor for settlement. You can also send a follow-on refund
and check status API requests.
Requirements
You must have a merchant ID and a Thunes API key for each country in which you
process transactions. Contact your
Cybersource
account manager for
more information.
Supported Country and Currency
This table lists the country, country code, and currency supported by Bizum.
Supported Country and Currency
Country
Country Code
Currency
Currency Code
Spain
ES
Euro
EUR
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
Bizum by Thunes Payment Workflow
This workflow describes the sequence of events that comprises a successful Bizum
payment.
Figure:
Bizum by Thunes Payment Workflow
The customer begins to checkout on the merchant's website and chooses the Bizum
payment method.
The merchant displays a confirmation of the completed payment to the
customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
Send a sale request to authorize and capture a payment in the same request. A successful
sale response includes a redirect URL and a pending status. Redirect the customer to the
URL to allow the customer to complete the checkout using Bizum. When the customer
completes the checkout, the customer is redirected to your merchant website based on the
success URL you include in the
apSaleService_successURL
request field.
Line Items
Line items can be included in a sale request. Line items correspond to the
item_#_
fields, starting with
item_0_
and increasing in numerical order.
For more information about how to properly format line items in your request, see
Using Line Items.
Tax Amounts
You can include the tax amount for every type of purchased product
in the
item_#_taxAmount
field when you request the
sale service.
Calculating the Grand Total
Include the grand total in the request by using the
responds to your sale request with one of these statuses in the
apSaleReply_status
field:
Sale Status
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Request the check status service every 60 minutes to retrieve
status updates. See Check a Request Status.
The sale service also responds with a reason code in the
When the customer completes the checkout using their Bizum
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
field.
Save the request ID in the
requestID
field
from the sale response. Include the request ID in a check status request to
confirm that the payment is complete.
You can retrieve the status of a pending sale or refund by sending a check status request.
When a pending status updates, a check status response includes the transaction's
new status. Thunes sometimes needs to review a service request, which causes a
transaction to initially respond with a pending status. The check status request
requires you to include the request ID from the pending transaction response you are checking the
status of. The request ID is located in the
requestID
response field.
Cybersource
recommends that you send a check status request
hourly until the status updates from pending.
You can refund a completed payment for the full amount or a partial amount by sending a refund request. Bizum supports multiple
refund requests when the total amount of all of the refund requests is less than the captured amount.
Requesting a refund requires the request ID from the sale
response. The request ID is located in the
responds to your refund request with one of these statuses as the
apRefundReply_status
field value:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Request the check status service to retrieve status updates. For more
information, see Check a Transaction Status.
The refund service also responds with a reason code as the
CODi is a bank transfer payment method offered by the Thunes payment service provider
(PSP) that you can offer your customers through
Cybersource
. You can
process a payment by sending a sale API request to
Cybersource
.
Cybersource
sends your request to Thunes. Thunes approves the transaction and
sends the request to the processor for settlement. You can also send a check status API
request to retrieve status updates of the processing sale. CODi does not support
refunds. To issue a refund to the customer, you must provide an alternative method of
reimbursement, such as cash or in-store credit.
This section describes how to process CODi transactions using the
Simple Order API
.
Requirement
You must receive a Thunes merchant ID before you can begin processing payments.
Contact your
Cybersource
account manager for more information.
Supported Country and Currency
This table lists the country and currency that is supported by CODi.
Supported Country and Currency
Supported Country
Country Code
Supported Currency
Currency Code
Mexico
MX
Mexican peso
MXN
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
CODi by Thunes Transaction Workflow
This workflow describes the sequence of events that comprises a successful CODi
payment and refund.
Figure:
CODi Transaction Workflow
The customer begins to checkout on your website and chooses the CODi payment
method.
This workflow describes the sequence of possible statuses you can receive when
processing a sale.
The merchant sends a sale API request to
Cybersource
and
receives one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Request the check status service to retrieve status updates.
The merchant sends a check status API request to
Cybersource
to
verify the status of the sale and receives one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The service request failed. A failed request
can be due to either a rejected transaction or a technical error.
PENDING
: The sale request is accepted but is not
completed. Request the check status service again after 60 minutes to
retrieve a status update.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
Process a Sale
This section describes how to send a sale request to process a payment.
A sale request authorizes and captures a payment in the same request. A successful sale
response includes an CODi redirect URL and a
PENDING
status. Redirect
the customer to the CODi URL to allow the customer to complete the checkout using their
CODi account. When the customer completes the checkout, the customer is redirected to
your website.
When you receive a successful response, save the sale request ID in the
requestID
response field to perform a follow-on check status request.
When the customer completes the checkout using their CODi
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
request field.
Save the request ID in the
requestID
field from the sale response. Include the request ID in
a check status request to confirm that the payment is complete.
responds to your sale request with one of these statuses
in the field:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Send a check status request as often as necessary to obtain the information that
you need. For more information, see Check a Status.
Check a Status
This section describes how to retrieve the current status of a sale.
Send a check status request to know if a pending sale is
settled. Use the check status
request as often as necessary to obtain the information that you need.
The check status request requires the request ID from the sale response.
The request ID is in the
with the sale
request ID. For more information, see Refund a Payment.
Cybersource
responds to you with a
REFUNDED
status and refund request ID.
You send a check status request to
Cybersource
to verify the
refund status.
Cybersource
respond to you with a
REFUNDED
status.
You confirm the refund to the customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
This section describes how to send a sale request to process a payment.
A sale request authorizes and captures a payment in the same request. A successful sale
response includes an MobilePay redirect URL and a
PENDING
status.
Redirect the customer to the MobilePay URL to allow the customer to complete the
checkout using their MobilePay account. When the customer completes the checkout, the
customer is redirected to your website.
When you receive a successful response, save the sale request ID in the
requestID
response
field to perform a follow-on check status request or refund request.
Calculating the Grand Total
Include the grand total in the request by using the
When the customer completes the checkout using their MobilePay
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
request field.
Save the request ID in the
requestID
field from the
sale response. Include the request ID in a check status request to confirm that
the payment is complete.
responds to your sale request with one of these statuses
in the field:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Send a check status request as often as necessary to obtain the information that
you need. For more information, see Check a Status.
Check a Status
This section describes how to retrieve the current status of a sale or refund. Send a
check status request to know if a pending sale is settled, or to verify that a refund
request is refunded. Use the check status request as often as necessary to obtain the
information that you need.
The check status request requires the request ID from the sale or refund response. The
request ID is in the
responds to your check status request with one of these
statuses in the
field:
Check Status Responses for a Sale
ABANDONED
: The customer did not complete the
payment using the redirect URL.
FAILED
: The service request failed. A failed
request can be due to either MobilePay rejecting the transaction or
a technical error.
FUNDED
: The settled amount is funded to the
merchant bank account.
PENDING
: The service request is accepted but is not
completed. Request the check status service to retrieve status
updates.
SETTLED
: The sale request is settled for the
requested amount.
Check Status Responses for a Refund
FAILED
: The service request failed. A failed
request can be due to either MobilePay rejecting the transaction or
a technical error.
REFUNDED
: The settled amount is successfully
refunded.
Refund a Payment
This section describes how to refund a payment. You can refund a settled payment for the
full amount or a partial amount by sending a refund request. Multiple partial refund
requests are also supported, and the total amount of all of the refund requests must be
less than the settled amount.
Requesting a refund requires the sale request ID from the sale response. The sale request
ID is in the
responds to your refund request with one of these
statuses in the
field:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Send a check status request to verify that the status is refunded. For more
information, see Check a Status.
Multibanco Transaction Requests
Multibanco is a payment method offered by the Thunes payment service provider (PSP) that you
can offer your customers through
Cybersource
. With Multibanco you can
process payments, refund payments, and retrieve the status of a pending payment or
refund.
This section describes how to process Multibanco transactions using the
Simple Order API
.
Requirement
You must receive a Thunes merchant ID before you can begin processing payments.
Contact your
Cybersource
account manager for more information.
Supported Country and Currency
This table lists the country and currency that is supported by Multibanco.
Supported Country and Currency
Supported Country
Country Code
Supported Currency
Currency Code
Portugal
PT
Euro
EUR
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
Multibanco by Thunes Transaction Workflow
This workflow describes the sequence of events that comprises a successful Multibanco
payment and refund.
Figure:
Multibanco Transaction Workflow
The customer begins to checkout on your website and chooses the Multibanco
payment method.
with the sale
request ID. For more information, see Refund a Payment.
Cybersource
responds to you with a
REFUNDED
status and refund request ID.
You send a check status request to
Cybersource
to verify the
refund status.
Cybersource
respond to you with a
REFUNDED
status.
You confirm the refund to the customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
This section describes how to send a sale request to process a payment.
A sale request authorizes and captures a payment in the same request. A successful sale
response includes an Multibanco redirect URL and a
PENDING
status.
Redirect the customer to the Multibanco URL to allow the customer to complete the
checkout using their Multibanco account. When the customer completes the checkout, the
customer is redirected to your website.
When you receive a successful response, save the sale request ID in the
requestID
response
field to perform a follow-on check status request or refund request.
Calculating the Grand Total
Include the grand total in the request by using the
When the customer completes the checkout using their Multibanco
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
request field.
Save the request ID in the
requestID
field from the
sale response. Include the request ID in a check status request to confirm that
the payment is complete.
responds to your sale request with one of these statuses
in the field:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Send a check status request as often as necessary to obtain the information that
you need. For more information, see Check a Status.
Check a Status
This section describes how to retrieve the current status of a sale or refund. Send a
check status request to know if a pending sale is settled, or to verify that a refund
request is refunded. Use the check status request as often as necessary to obtain the
information that you need.
The check status request requires the request ID from the sale or refund response. The
request ID is in the
responds to your check status request with one of these
statuses in the
field:
Check Status Responses for a Sale
ABANDONED
: The customer did not complete the
payment using the redirect URL.
FAILED
: The service request failed. A failed
request can be due to either Multibanco rejecting the transaction or
a technical error.
FUNDED
: The settled amount is funded to the
merchant bank account.
PENDING
: The service request is accepted but is not
completed. Request the check status service to retrieve status
updates.
SETTLED
: The sale request is settled for the
requested amount.
Check Status Responses for a Refund
FAILED
: The service request failed. A failed
request can be due to either Multibanco rejecting the transaction or
a technical error.
REFUNDED
: The settled amount is successfully
refunded.
Refund a Payment
This section describes how to refund a payment. You can refund a settled payment for the
full amount or a partial amount by sending a refund request. Multiple partial refund
requests are also supported, and the total amount of all of the refund requests must be
less than the settled amount.
Requesting a refund requires the sale request ID from the sale response. The sale request
ID is in the
responds to your refund request with one of these
statuses in the
field:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Send a check status request to verify that the status is refunded. For more
information, see Check a Status.
SPEI Transaction Requests
SPEI is a bank transfer payment method offered by the Thunes payment service provider
(PSP) that you can offer your customers through
Cybersource
. With SPEI
you can process payments, refund payments, and retrieve the status of a pending payment
or refund.
This section describes how to process SPEI transactions using the
Simple Order API
.
Requirement
You must receive a Thunes merchant ID before you can begin processing payments.
Contact your
Cybersource
account manager for more information.
Supported Country and Currency
This table lists the country and currency that is supported by SPEI.
Supported Country and Currency
Supported Country
Country Code
Supported Currency
Currency Code
Mexico
MX
Mexican peso
MXN
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
SPEI by Thunes Transaction Workflow
This workflow describes the sequence of events that comprises a successful SPEI
payment and refund.
Figure:
SPEI Transaction Workflow
The customer begins to checkout on your website and chooses the SPEI payment
method.
with the sale
request ID. For more information, see Refund a Payment.
Cybersource
responds to you with a
REFUNDED
status and refund request ID.
You send a check status request to
Cybersource
to verify the
refund status.
Cybersource
respond to you with a
REFUNDED
status.
You confirm the refund to the customer.
Transaction Statuses Workflow
This workflow shows the statuses that can occur at each stage of processing a sale
and refund.
Figure:
Transaction Statuses Workflow
When a customer begins to check out, you send a sale request to
Cybersource
and receive one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Send the check status request to retrieve status updates.
You send a check status request to
Cybersource
to verify the sale
status and receive one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The sale request failed. A failed request can
be due to either a rejection or a technical error.
PENDING
: The sale request is accepted but is not
completed. Send the check status request as often as necessary to obtain
the information that you need.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
If a customer returns a purchase, you send a refund request to
Cybersource
and receive one of these possible statuses:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not
completed. Request the check status service to retrieve status updates.
You send a check status request to
Cybersource
to verify the refund
status and receive one of these statuses:
FAILED
: The refund could not be completed.
REFUNDED
: The settled amount is successfully
refunded.
Process a Sale
This section describes how to send a sale request to process a payment.
A sale request authorizes and captures a payment in the same request. A successful sale
response includes an SPEI redirect URL and a
PENDING
status. Redirect
the customer to the SPEI URL to allow the customer to complete the checkout using their
SPEI account. When the customer completes the checkout, the customer is redirected to
your website.
When you receive a successful response, save the sale request ID in the
requestID
response
field to perform a follow-on check status request or refund request.
Calculating the Grand Total
Include the grand total in the request by using the
When the customer completes the checkout using their SPEI
credentials, the customer is redirected to the merchant website based on the URL
that you included in the
apSaleService_successURL
request field.
Save the request ID in the
requestID
field from the sale response. Include the request ID in
a check status request to confirm that the payment is complete.
responds to your sale request with one of these statuses
in the field:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Send a check status request as often as necessary to obtain the information that
you need. For more information, see Check a Status.
Check a Status
This section describes how to retrieve the current status of a sale or refund. Send a
check status request to know if a pending sale is settled, or to verify that a refund
request is refunded. Use the check status request as often as necessary to obtain the
information that you need.
The check status request requires the request ID from the sale or refund response. The
request ID is in the
responds to your check status request with one of these
statuses in the
field:
Check Status Responses for a Sale
ABANDONED
: The customer did not complete the
payment using the redirect URL.
FAILED
: The service request failed. A failed
request can be due to either SPEI rejecting the transaction or a
technical error.
FUNDED
: The settled amount is funded to the
merchant bank account.
PENDING
: The service request is accepted but is not
completed. Request the check status service to retrieve status
updates.
SETTLED
: The sale request is settled for the
requested amount.
Check Status Responses for a Refund
FAILED
: The service request failed. A failed
request can be due to either SPEI rejecting the transaction or a
technical error.
REFUNDED
: The settled amount is successfully
refunded.
Refund a Payment
This section describes how to refund a payment. You can refund a settled payment for the
full amount or a partial amount by sending a refund request. Multiple partial refund
requests are also supported, and the total amount of all of the refund requests must be
less than the settled amount.
Requesting a refund requires the sale request ID from the sale response. The sale request
ID is in the
responds to your refund request with one of these
statuses in the
field:
FAILED
: The refund request failed.
REFUNDED
: The refund request is accepted but is not completed.
Send a check status request to verify that the status is refunded. For more
information, see Check a Status.
Touch 'n Go Transaction Requests
Touch 'n Go is an e-wallet payment method offered by the Thunes payment service provider
(PSP) that you can offer your customers through
Cybersource
.You can
process a payment by sending a sale API request to
Cybersource
.
Cybersource
sends your request to Thunes. Thunes approves the transaction and
sends the request to the processor for settlement. You can also send a check status API
request to retrieve status updates of the processing sale. Touch 'n Go does not support
refunds. To issue a refund to the customer, you must provide an alternative method of
reimbursement, such as cash or in-store credit.
This section describes how to process Touch 'n Go transactions using the
Simple Order API
.
Requirement
You must receive a Thunes merchant ID before you can begin processing payments.
Contact your
Cybersource
account manager for more information.
Supported Country and Currency
This table lists the country and currency that is supported by Touch 'n Go.
Supported Country and Currency
Supported Country
Country Code
Supported Currency
Currency Code
Malaysia
MY
Malaysian ringgit
MYR
Shipping Policy
You can ship purchased goods when the sale status is
SETTLED
.
Testing Information
Touch 'n Go does not support a test
endpoint. Send all test transactions to the production endpoint.
Touch 'n Go by Thunes Transaction Workflow
This workflow describes the sequence of events that comprises a successful Touch 'n
Go payment and refund.
Figure:
Touch 'n Go Transaction Workflow
The customer begins to checkout on your website and chooses the Touch 'n Go
payment method.
This workflow describes the sequence of possible statuses you can receive when
processing a sale.
The merchant sends a sale API request to
Cybersource
and
receives one of these possible statuses:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not
completed. Request the check status service to retrieve status updates.
The merchant sends a check status API request to
Cybersource
to
verify the status of the sale and receives one of these statuses:
ABANDONED
: The customer did not complete the payment
using the redirect URL.
FAILED
: The service request failed. A failed request
can be due to either a rejected transaction or a technical error.
PENDING
: The sale request is accepted but is not
completed. Request the check status service again after 60 minutes to
retrieve a status update.
SETTLED
: The sale request is settled for the requested
amount. When the settled amount is deposited into the merchant's bank
account, the status updates to
FUNDED
.
Process a Sale
This section describes how to send a sale request to process a payment.
A sale request authorizes and captures a payment in the same request. A successful sale
response includes an Touch 'n Go redirect URL and a
PENDING
status.
Redirect the customer to the Touch 'n Go URL to allow the customer to complete the
checkout using their Touch 'n Go account. When the customer completes the checkout, the
customer is redirected to your website.
When you receive a successful response, save the sale request ID in the
requestID
response field to perform a follow-on check status request or refund request.
Calculating the Grand Total
Include the grand total in the request by using the
When the customer completes the checkout using their Touch 'n
Go credentials, the customer is redirected to the merchant website based on the
URL that you included in the
apSaleService_successURL
request field.
Save the request ID in the
requestID
field from the sale response. Include the request ID in
a check status request to confirm that the payment is complete.
responds to your sale request with one of these statuses
in the field:
FAILED
: The sale cannot be completed.
PENDING
: The sale request is accepted but is not completed.
Send a check status request as often as necessary to obtain the information that
you need. For more information, see Check a Status.
Check a Status
This section describes how to retrieve the current status of a sale.
Send a check status request to know if a pending sale is
settled. Use the check status
request as often as necessary to obtain the information that you need.
The check status request requires the request ID from the sale response.
The request ID is in the