v1
latestOpenAPI 3.1.02026-07-136388308.2 KBOpen Banking
Create a payment request
This endpoint creates a new Open Banking Payment request. A code is returned that can be shared to your customers as a URL by any channel you wish. See our Guide to Fire Open Payments for more details. You will need to enable PERM_BUSINESS_POST_PAYMENT_REQUEST to use this endpoint.
post/v1/paymentrequests
Request body
Example request
{
"icanTo": 42,
"amount": 1000,
"myRef": "Fees",
"description": "Gym Fees Oct 2020",
"maxNumberPayments": 1,
"expiry": "2020-10-22T07:48:56.460Z",
"returnUrl": "https://example.com/callback",
"orderDetails": {
"merchantNumber": "1234567",
"orderId": "6c28a47d-4502-4111",
"productId": "ZFDAA-1221",
"customerNumber": "123645",
"variableReference": "John Doe",
"comment1": "Additional comments about the transaction",
"comment2": "Additional comments about the transaction",
"merchantCustomerIdentification": "CustNum-303863544",
"deliveryAddressLine1": "12 The Street",
"deliveryAddressLine2": "The Way",
"deliveryCity": "London",
"deliveryPostCode": "EC15155",
"deliveryCountry": "GB"
},
"collectFields": "ADDRESS|REFERENCE|COMMENT1",
"mandatoryFields": "ADDRESS|REFERENCE|COMMENT1",
"additionalFields": "ORDER_ID|PRODUCT_ID|CUSTOMER_ID|CUSTOMER_NUMBER|COMMENT2"
}Response
Payment Request created successfully
Example response
{
"code": "1234abcd"
}