latestSwagger 2.02026-08-20196638916.1 KB
23d8982b533d
Payment.Settlement Accounts
Create account
Creates a new settlement account for the merchant.
post/payment/v1/merchants/{merchantId}/accounts
Path parameters
merchantIdstring required
The merchant id tied to the account.
Request body
Example request
{
"accountIdentifier": {
"identifier": "00000012345678",
"type": "SORT_CODE"
},
"appId": "",
"availableBalance": {
"currencyCode": "GBP",
"value": {
"scale": "2",
"unscaledValue": "271100"
}
},
"balance": {
"currencyCode": "GBP",
"value": {
"scale": "2",
"unscaledValue": "276400"
}
},
"countryCode": "GB",
"currencyCode": "GBP",
"id": "744cf927-29cd-475e-9ef2-2b11951d3cc9",
"merchantId": "2c9ba5fd-cbdb-4ed5-84a4-01db5698f0d9",
"name": "Account name",
"payoutAccount": {
"currencyCode": "GBP",
"frequency": "MONTHLY",
"identifier": {
"identifier": "00000070438943",
"type": "SORT_CODE"
}
},
"reservedAmount": {
"scale": "1",
"unscaledValue": "100"
},
"status": "ENABLED",
"type": "APP_ACCOUNT"
}Response
A successful response.
Example response
{
"accountIdentifier": {
"identifier": "00000012345678",
"type": "SORT_CODE"
},
"appId": "",
"availableBalance": {
"currencyCode": "GBP",
"value": {
"scale": "2",
"unscaledValue": "271100"
}
},
"balance": {
"currencyCode": "GBP",
"value": {
"scale": "2",
"unscaledValue": "276400"
}
},
"countryCode": "GB",
"currencyCode": "GBP",
"id": "744cf927-29cd-475e-9ef2-2b11951d3cc9",
"merchantId": "2c9ba5fd-cbdb-4ed5-84a4-01db5698f0d9",
"name": "Account name",
"payoutAccount": {
"currencyCode": "GBP",
"frequency": "MONTHLY",
"identifier": {
"identifier": "00000070438943",
"type": "SORT_CODE"
}
},
"reservedAmount": {
"scale": "1",
"unscaledValue": "100"
},
"status": "ENABLED",
"type": "APP_ACCOUNT"
}