Process a payment (card_id)
POST {{url}}payments/reuse
Process a payment using a stored card. Simply pass the card_id
and the cvv
value in your request instead of passing the full card details. You are not required to pass the customer_id
in the request as the card is linked to the required customer.
https://docs.acquired.com/reference/create-payment-stored-card
Request Body
{"transaction"=>{"order_id"=>"{{$guid}}", "amount"=>15.02, "currency"=>"gbp", "moto"=>false, "capture"=>true}, "payment"=>{"card_id"=>"4370a338-b2c2-414a-960f-f496b126b283", "card"=>{"cvv"=>"123"}, "reference"=>"Custom Ref 001"}, "tds"=>{"is_active"=>false, "challenge_preference"=>"no_preference", "challenge_window_size"=>"full_screen", "contact_url"=>"https://yourdomain.com/contact", "redirect_url"=>"https://yourdomain.com/redirect", "webhook_url"=>"https://yourdomain.com/webhook"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Company-Id | null | Unique ID assigned by Acquired.com for your company. | |
Mid | null | Unique ID assigned by Acquired.com connecting to a specific acquiring bank. Not setting this value will enable our internal routing logic. |