Anchor | ||||
---|---|---|---|---|
|
Process Open Banking
POST /v1/pay/ob/process
Headers
Content-Typestring
Content type.
Authorizationstring
Access token generated from create token request.
Attributes
payment_intentstring
Payment intent token.
paymentTokenstring
Payment token.
typestring
Type 1 is ECOM
payment and type 2 is MOTO
.
raw_amountfloat
Payment amount.
customer_emailstring
Customer email.
customer_namestring
Customer name.
customer_addressstring (optional)
User’s address details.
customer_postcodestring (optional)
User’s postcode.
transaction_uniquestring
Transaction unique.
Request
Code Block |
---|
POST https://secure.blinkpayment.co.uk/api/v1/pay/ob/process Content-Type: application/json AuthenticationAuthorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG... { "merchant_id": "123456", "payment_intent": "pi_Swhc84aSLtUGppvPARX...", "customer_email": "random@email.com", "customer_name": "A Smith" } |
Response
Code Block |
---|
{ "url": "https://api-demo-php.blinkpayment.co.uk/return?res=QkwtTVlVRTV...%3D%3D" } |