Create a Provisioning
Changed onMove funds from merchant's collection account to transfer account. With an API key, the request awaits Hub2 validation and its amount is held on the collection account until then; a request above the available collection balance is refused with 409 insufficient-funds, and one whose amount cannot be held for another reason with 422.
Request
- The document declares no server URL.
- Authnone declared. Required headers: ApiKey, MerchantId, Environment
Headers
Your api key. To create a key, please get into our dashboard. If you don't have access to it, please reach the Support team.
Your merchant ID. This information is available in our dashboard. If you don't have access to it, please reach the Support team.
Allow you to choose between the sandbox mode to perform some tests or the live mode for real world transactions.
Request body
Example request
{
"amount": 100,
"currency": "XOF"
}Response
Example response
{
"id": "prov_z1urYtVFgEebtcj8fxp4v",
"status": "pending",
"date": "2020-10-15T12:09:49.355Z",
"withdrawal": {
"id": "wtd_z1urYtVFgEebtcj8fxp4v",
"type": "withdrawal",
"date": "2020-10-15T12:09:49.355Z",
"amount": 100,
"currency": "XOF"
},
"deposit": {
"id": "dep_z1urYtVFgEebtcj8fxp4v",
"type": "deposit",
"date": "2020-10-15T12:09:49.355Z",
"amount": 100,
"currency": "XOF"
}
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the required property
/////to the response with the status - info
added the required property
/////to the response with the status
- info