Create a payment link
Authorization
OAuth2PasswordBearer In: header
Cookie Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
A shareable page that collects a payment. IN-302.
amount_type decides which of the amount fields apply: fixed wants
amount_minor and nothing else; open lets the payer choose and takes
the optional min_/max_ bounds. Sending a fixed amount alongside bounds
is refused rather than silently resolved, because either reading of it
would be a guess about what you meant to charge.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/b/v1/payment-links" \ -H "Content-Type: application/json" \ -d '{ "title": "August retainer", "currency": "RWF" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "title": "string", "description": "string", "amount_type": "string", "amount_minor": 0, "min_amount_minor": 0, "max_amount_minor": 0, "currency": "string", "usage": "string", "state": "active", "redirect_url": "string", "expires_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "payments": 0}