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.
tokenobject is required and should contain aidandtypecard method reference.webhook_notificationobject 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_codeobject containing{3ds_url: ''}. You must direct your customer to this URL to authorise the payment. After successful authorisation, customer back toreturn_urland 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