Charge Link
Charge Link
This endpoint allows you to charge a user’s linked account. However, for the charge to be successful, the linked account’s business has to approve the direct charge request via webhook.
- Visit authorizing requests to learn more here
Endpoint Get
https://api.thepeer.co/link/{{LINK_ID}}/charge
Path Parameter
Name | Description | Required | Data type |
---|---|---|---|
LINK_ID | The link’s identifier | true | String |
Sample request
{
"currency": "NGN",
"amount": 500000,
"remark": "TRANSACTION_DESCRIPTION"
}
Sample response
{
"message": "transaction processing"
}
When the webhook has been successfully approved by the business, you will receive the transaction object via webhook.