Direct debits
Process the payment and return to the user defined URL with url encoded transaction response.
- application/json
Request Body
- payment_intent string required
Payment intent token.
- given_name string required
User’s given name or first name.
- family_name string required
User’s family name or Surname.
- email string required
User’s email address.
- country_code string required
ISO country code. Default value GB.
- customer_address string
User’s address details.
- customer_postcode string
User’s postcode.
- account_holder_name string required
User’s bank account name.
- branch_code string required
User’s bank short code.
- account_number string required
User’s bank account number.
- merchant_data string
The merchant can add custom key value pairs in JSON format, for example: { "my_order_id": 123, "fancy_note": "Order complete", "card_discount": false }
- company_name string
User’s company name. It’s required only if user’s given name and family name are not present.
Responses
- 200
Response Headers
- application/json
- Schema
- Example (from schema)
- Example
Schema
- url string
{
"url": "string"
}
{
"url": "https://api-demo-php.blinkpayment.co.uk/return?transaction_id=BL-002A12345&status=Pending%2BSubmission¬e=Pending%2BSubmission&merchant_data=%257B%2522order_id%2522%253A%2522dd-12345678%2522%257D"
}
Loading...