Take one-click payments

Use the Secure Acceptance Hosted Checkout interface to take one-click payments using saved tokens, with your customer 'in-session'. This enables you to easily ensure payer authentication using 3D secure.

Refer to the accept a new card payment documentation and examples, and add the payment_token parameter to your request. This resource is returned in the notification sent to your merchant POST URL when you save a card after a single payment.

For one-click payments using a token, use the following endpoints:

  • Test: https://testsecureacceptance.cybersource.com/oneclick/pay
  • Production: https://secureacceptance.cybersource.com/oneclick/pay

The customer is directed to the Order Review page. Depending on the settings you configured for Secure Acceptance Hosted Checkout, the customer can view or update billing, shipping and payment details before confirming to pay.

One-click payment example request

access_key=a2b0c0d0e0f0g0h0i0j0k0l0m0n0o0p2
profile_id=0FFEAFFB-8171-4F34-A22D-1CD38A28A384
reference_number=1350029885978
payment_token=3427075830000181552556
consumer_id=1239874561
transaction_type=authorization
amount=100.00
currency=USD
locale=en
transaction_uuid=fcfc212e92d23be881d1299ef3c3b314
signed_date_time=2020-01-17T10:46:39Z
signed_field_names=comma separated list of signed fields
signature=WrXOhTzhBjYMZROwiCug2My3jiZHOqATimcz5EBA07M=