Create Payment via Tokenisation
POST/v2/cards/create_payment
This endpoint allows you to create a card payment intent using a previously tokenised or newly provided card.
token
object is required and should contain aid
andtype
card method reference.webhook_notification
object is optional. If not provided, we will use your default webhook configuration that you've previously set up. If provided, we will send webhook notifications to the specified endpoint for this specific payment.- When the card requires 3DS authentication, we will return a
pay_code
object containing{3ds_url: ''}
. You must direct your customer to this URL to authorise the payment. After successful authorisation, customer back toreturn_url
and you can use the capture API normally to collect the payment from the user.
Request
Responses
- 200
- 400
- 401
- 422
Payment created
Bad Request
Unauthorized
Unprocessable Entity