Charge link ⚑️

This endpoint allows you to charge your user's linked account at any time, as long as the other business in which the direct charge is being caried on approves the direct charge request via its webhook.

⚑️

Learn more about authorizing direct charge here

Endpoint

POST

https://api.thepeer.co/link/{{LINK_ID}}/charge
URL ParameterDescription
{{LINK_ID}}the id of a link, obviously πŸ€·β€β™‚οΈ

Sample body

{
"amount": 500000,
"remark": "macbook repayment"
}

Field requirements

Field nameData typeRequiredDescription
amountintegertrueamount
currencystringtruecurrency to debit the customer in
remarkstringtruereason for initiating a direct charge

Sample response

Check out the Anatomy of a transaction object


Don’t let the noise of other’s opinions drown out your own inner voice.

β€” Steve Jobs