Retrying the payment for an order
Last updated: 08-Jun-2022
Rate this article:
Overview
Customers can retry making a payment if the initial payment fails, without placing a new order. The customer can use other payment details or a different payment method.
Availability
Available for all orders placed via API and on all packages.
Request example
To retry a payment for an already placed order, provide the order reference number in the Place Order API call in the RefNo parameter placed in the root of the request object.
{
"Language":"en",
"Country":"US",
"CustomerIP":"10.10.10.10",
"RefNo":"123456622",
"Source":"Website",
"ExternalCustomerReference":"externalCustomerId",
"Currency":"USD",
"MachineId":"123456789",
"Items":[
{
"Code":"5DCB30C6B0",
"Quantity":1
}
],
"BillingDetails":{
"FirstName":"Customer First Name",
"LastName":"Customer Last Name",
"CountryCode":"US",
"State":"California",
"City":"San Francisco",
"Address1":"Example Street",
"Zip":"90210",
"Email":"example@email.com"
},
"PaymentDetails":{
"Type":"TEST",
"Currency":"USD",
"PaymentMethod":{
"CardNumber":"4111111111111111",
"CardType":"VISA",
"ExpirationYear":"2023",
"ExpirationMonth":"12",
"HolderName":"John Doe",
"CCID":"123",
"Vendor3DSReturnURL":"http:\/\/yoursuccessurl.com",
"Vendor3DSCancelURL":"http:\/\/yourcancelurl.com"
},
"CustomerIP":"10.10.10.10"
}
}
Rate this article: