Create credit card payment for MOTO
MOTO payment processes the payment without the 3DS check. Once the payment is processed the user will be returned to the predefined return URL with an url encoded transaction response.
- application/json
Request Body
- payment_intent string required
Payment intent token.
- paymentToken string required
Payment token generated from Create Payment Token request.
- type integer
Type 1 is ECOM payment and type 2 is MOTO. Default value is 1 i.e. ECOM.
- customer_email string
Customer email. If not present, it will fetch value from Intent resource.
- customer_name string
Customer name. If not present, it will fetch value from Intent resource.
- customer_address string
User’s address details. If not present, it will fetch value from Intent resource.
- customer_postcode string
User’s postcode. If not present, it will fetch value from Intent resource.
- transaction_unique string required
Transaction unique.
- merchant_data object
The merchant can add custom key value pairs in JSON format, for example: { "my_order_id": 123, "fancy_note": "Order complete", "card_discount": false }
- raw_amount number
Payment amount. If not present, it will fetch value from Intent resource.
- 200
- application/json
- Schema
- Example (from schema)
- Example
Schema
- url string
{
"url": "string"
}
{
"url": "https://api-demo-php.blinkpayment.co.uk/return?transaction_id=BL-MYU12345&status=captured¬e=Payment%2BSuccessful&merchant_data=%257B%2522order_id%2522%253A%2522cc-12345678%2522%257D"
}