A valid request URL is required to generate request examples
{ "prepayment": { "prepayment": { "organization_id": "<string>", "balance": { "formatted": "<string>", "amount": 123, "currency_code": "<string>", "currency_symbol": "<string>" }, "last_updated_at": "<string>", "sufficient": true, "fallback": "<string>" } }, "_links": { "self": { "href": "<string>" }, "transactions": { "href": "<string>" } } }
Retrieves prepayment information for the specified organization, if applicable.
cURL
curl --request GET \ --url {schemes}://api.upsun.com/organizations/{organization_id}/prepayment \ --header 'Authorization: Bearer <token>'
The ID of the organization.
OK
Prepayment information for an organization.
Show child attributes