Apple Pay decrypted
Take a payment or make a payout with Apple Pay decrypted.
Take a payment
To send a payment request with a decrypted payload, you must follow the instructions on Apple Pay's developer site first.
Once integrated with Apple Pay, you can use our Payments API to take a payment. Use our customerInitiatedTransactions endpoint or merchantInitiatedTransactions endpoint to submit your request.
Example request
Payment authorization for GBP 2.50 with a successful outcome
{ "outcome": "authorized", "riskFactors": [ { "type": "cvc", "risk": "notSupplied" }, { "type": "avs", "risk": "notChecked", "detail": "address" }, { "type": "avs", "risk": "notChecked", "detail": "postcode" } ], "issuer": { "authorizationCode": "675725" }, "scheme": { "reference": "MCCOLXT1C0104 " }, "paymentInstrument": { "type": "card/plain+masked", "cardBin": "555555", "lastFour": "4444", "category": "consumer", "countryCode": "GB", "expiryDate": { "month": 9, "year": 2029 }, "cardBrand": "mastercard", "fundingType": "credit", "issuerName": "AN ISSUING BANK LTD", "paymentAccountReference": "Q1HJZ28RKA1EBL470G9XYG90R5D3E" }, "_links": { "cardPayments:cancel": { "href": "https://try.access.worldpay.com/payments/authorizations/cancellations/" }, "cardPayments:partialCancel": { "href": "https://try.access.worldpay.com/payments/authorizations/cancellations/partials/" }, "cardPayments:settle": { "href": "https://try.access.worldpay.com/payments/settlements/full/" }, "cardPayments:partialSettle": { "href": "https://try.access.worldpay.com/payments/settlements/partials/" }, "cardPayments:events": { "href": "https://try.access.worldpay.com/payments/events/" }, "curies": [ { "name": "cardPayments", "href": "https://try.access.worldpay.com/rels/cardPayments/{rel}", "templated": true } ] } }
Example response
insert response - waiting for Bartosz
For more information on how to take a payment with our Apple Pay decrypted payment instrument go to our Card Payments API documentation for customerInitiatedTransactions or merchantInitiatedTransactions payments.
Make a payout
To send a payout request with a decrypted payload, you must follow the instructions on Apple Pay's developer site first.
You can either send a basicDisbursement
or a fastAccess
request to make a payout.
Example request:
For parameter descriptions and possible outcomes go to our Payouts documentation.