v2
latestSwagger 2.02026-08-0610101.9 MBPayments
Create payment
Registers a new payment request for the bank account
post/v0/bank/accounts/{bank-account-id}/payments
Path parameters
bank-account-idstring required
Request body
Example request
{
"creditor": {
"account-number": "12345678",
"bank-id": "123456"
},
"payment-amount": {
"currency": "GBP",
"value": "1000.00"
},
"payment-reference": "test reference"
}Response
Created
Example response
{
"created-by-user": {
"user-email": "user@example.com",
"user-url": "/v0/users/ur.ICAgICAgICAgdXNlci1pZA",
"user-username": "user@example.com"
},
"creditor": {
"iban": "GB42GFNB12345612345678",
"uk-domestic-sort-code": "123456",
"bic": "GFNBGB22",
"account-number": "12345678",
"bank-id": "123456",
"bban": "GFNB12345612345678",
"uk-domestic-account-number": "12345678",
"other-account-identification": "ABC123",
"other-institution-identification": "ABC123"
},
"latest-submission-url": "/v0/submissions/ps.ICAgc3VibWlzc2lvbi1pZA",
"rejected-by-url": "/v0/users/ur.ICAgICAgICAgdXNlci1pZA",
"created-by-url": "/v0/users/ur.ICAgICAgICAgdXNlci1pZA",
"payment-url": "/v0/payments/pm.ICAgICAgcGF5bWVudC1pZA",
"payment-reference": "test reference",
"payment-amount": {
"currency": "GBP",
"value": "1000.00"
},
"ultimate-debtor": {
"iban": "GB42GFNB12345612345678",
"uk-domestic-sort-code": "123456",
"bic": "GFNBGB22",
"account-number": "12345678",
"bank-id": "123456",
"bban": "GFNB12345612345678",
"uk-domestic-account-number": "12345678",
"other-account-identification": "ABC123",
"other-institution-identification": "ABC123"
},
"payment-admissions-url": "/v0/payments/pm.ICAgICAgcGF5bWVudC1pZA/admissions",
"payment-submissions-url": "/v0/payments/pm.ICAgICAgcGF5bWVudC1pZA/submissions",
"debtor": {
"iban": "GB42GFNB12345612345678",
"uk-domestic-sort-code": "123456",
"bic": "GFNBGB22",
"account-number": "12345678",
"bank-id": "123456",
"bban": "GFNB12345612345678",
"uk-domestic-account-number": "12345678",
"other-account-identification": "ABC123",
"other-institution-identification": "ABC123"
},
"rejected-by-user": {
"user-email": "user@example.com",
"user-url": "/v0/users/ur.ICAgICAgICAgdXNlci1pZA",
"user-username": "user@example.com"
}
}