APIs/Card Payments//
- Authorize using card on file with verification
Authorize using card on file, no verification
Card on file sale
Authorize recurring payment, no verification
Authorize recurring payment with verification
Recurring sale
Authorize using card on f...
Use our card on file authorize resource when your customer is initiating a payment using stored card details verifying their account first
Security
BasicAuth
A unique reference generated by you that is used to identify a payment throughout its lifecycle.
- Test (Try)https://try.access.worldpay.com/payments/authorizations/cardOnFile/{linkData}
- Livehttps://access.worldpay.com/payments/authorizations/cardOnFile/{linkData}
Payment authorization for GBP 2.50
{ "transactionReference": "transaction-ref", "merchant": { "entity": "an-entity" }, "instruction": { "narrative": { "line1": "trading name" }, "value": { "currency": "GBP", "amount": 250 }, "paymentInstrument": { "type": "card/plain", "cardNumber": "4444333322221111", "cardExpiryDate": { "month": 12, "year": 2024 } } } }
The payment authorization has been successfully created
An exemption result and reason if a risk profile was included in your authorization request.
Any risk factors which have been identified for the authorization. This section will not appear if no risks are identified.
Response
Payment authorization for GBP 2.50 with a successful outcome
{ "outcome": "authorized", "_links": { "payments:cancel": { "href": "/payments/authorizations/cancellations/linkData" }, "payments:settle": { "href": "/payments/settlements/linkData" }, "payments:partialSettle": { "href": "/payments/settlements/partials/linkData" }, "payments:events": { "href": "/payments/events/linkData" }, "payments:cardOnFileAuthorize": { "href": "/payments/cardOnFile/linkData" }, "payments:recurringAuthorize": { "href": "/payments/recurring/linkData" }, "curies": [ { "name": "payments", "href": "/rels/payments/{rel}", "templated": true } ] } }