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 carried on approves the direct charge request via its webhook.
β‘οΈ
Visit authorizing requests to learn more.
Endpoint
POST
https://api.thepeer.co/link/{{LINK_ID}}/charge
URL Parameter | Description |
---|---|
{{LINK_ID}} | the id of a link, obviously π€·ββοΈ |
Sample body
{ "amount": 500000, "remark": "macbook repayment"}
Field requirements
Field name | Data type | Required | Description |
---|---|---|---|
amount | integer | true | amount |
currency | string | true | currency to debit the customer in |
remark | string | true | reason 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