FILTER BY TAG

Process a Sale

This section describes how you can send a sale request to begin processing a payment.
After sending a sale request, a successful response includes a
PENDING
status in the
status
field and a sale request ID in the
id
field. Save the request ID to send follow-on check status requests. You must send check status requests to know when the sale is settled.

Merchant Redirect URLs

When your customer is redirected to their bank's website during checkout, they can experience one of these outcomes:
  • Canceled purchase
  • Failed purchase
  • Successful purchase
Depending on which outcome your customer experiences determines which of your merchant URLs the customer is redirected to. Tink requires you to provide your redirect URLs in your sale request. To provide your redirect URLs, you can choose one of these options:
  • Configure your redirect URLs in the
    Business Center
    in Available Products. Your merchant account must be enabled to access Product Configuration: Alternative Payment Methods.
  • Contact your
    Cybersource
    account manager to update your merchant account.
  • Include these fields in your sale request:
    Set to the URL to which the customer is redirected after canceling a payment or closing the browser.
    Set to the URL to which the customer is redirected when a payment fails because of insufficient funds or because the issuer declines it.
    Set to the URL to which the customer is redirected after completing a payment. Do not use this URL to confirm a payment because the reply is not signed and it could be tampered with.
    Cybersource
    recommends that the success URL link to a static webpage with text that tells the customer their payment is being processed. A follow-up email or webpage can then be used to inform them when their payment is successful.
    If your account is configured to include your redirect URLs, and you send these fields in your sale request,
    Cybersource
    uses the URLs you include in the fields.

Endpoints

Production:
POST
https://api.cybersource.com
/pts/v2/payments
Test:
POST
https://apitest.cybersource.com
/pts/v2/payments

Required Fields for Processing a Sale

This field is optional if your account is configured to automatically include your redirect URLs.
This field is optional if your account is configured to automatically include your redirect URLs.
This field is optional if your account is configured to automatically include your redirect URLs.
Set to
GBP
.
Set to
UK
.
Set to
tinkPayByBank
.
Set to
bankTransfer
.
Set to
[AP_SALE]
.

Optional Fields for Processing a Sale

Set to a unique value for your internal tracking purposes.
paymentInformation.bank.swiftCode
paymentInformation.directDebit.mandate.clearingDate
paymentInformation.options.id

Example: Processing a Sale

Request
{ "paymentInformation": { "paymentType": { "name": "bankTransfer", "method": { "name": "tinkPayByBank" } } }, "processingInformation": { "actionList": [ "AP_SALE" ] }, "orderInformation": { "amountDetails": { "totalAmount": "50.00", "currency": "GBP" }, "billTo": { "country": "UK" } } }
Request + Redirect URLs
{ "paymentInformation": { "paymentType": { "name": "bankTransfer", "method": { "name": "tinkPayByBank" } } }, "processingInformation": { "actionList": [ "AP_SALE" ] }, "merchantInformation": { "cancelUrl": "merchant_cancel_url.com", "successUrl": "merchant_success_url.com", "failureUrl": "merchant_failure_url.com" }, "orderInformation": { "amountDetails": { "totalAmount": "50.00", "currency": "GBP" }, "billTo": { "country": "UK" } } }
Response to a Successful Request
{ "processorInformation": { "responseCode": "00001", "transactionId": "cd8ec59f-5b73-4efe-9789-952fa1475b43", "paymentUrl": "https://link.staging.oxford.tink.se/1.0/pay/direct?market=GB&session_id=2b3bc1e13e334d5bb86245ae5f1c31449d38004b3d5842248a80463a766be788&redirect_uri=https%3A%2F%2Fapi.staging.oxford.tink.com%2Fpayments%2Fv1%2Fcybersource%2Fcallback&payment_request_id=cd8ec59f-5b73-4efe-9789-952fa1475b43&locale=en_US&client_id=5b4c4850e3e240e28f74c4be0ce11405" }, "orderInformation": { "amountDetails": { "totalAmount": "50.00", "currency": "GBP" } }, "reconciliationId": "KOJMTDIN58M3", "message": "Request was processed successfully.", "status": "PENDING", "id": "7537195501166875104805", "submitTimeUtc": "2025-07-28T16:19:10Z" }

Response Statuses for Processing a Sale

Cybersource
responds to your request with one of these statuses in the
status
field:
  • FAILED
    : The sale request is unsuccessful. A possible reason is invalid fields or missing fields in the request.
  • PENDING
    : The sale request is successful and is currently processing. Send check status requests until the status updates.
With an active webhook subscription, you will receive real-time notifications when the transaction status updates. For more information, see Create a Webhook Subscription.
If you do not receive a webhook notification, send check status requests until you receive an updated status. For more information, see Check a Status.