Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://sandbox-api.kotanipay.io/api/v3/cross-boarder/invoice/{referenceId} \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "Invoice successfully retrieved", "data": { "referenceId": "1e476673-0931-4eba-8373-37b368ce59f7", "amount": "John Doe", "currency": "+254712345678", "accountName": "John Doe", "address": "123 Main St", "phoneNumber": "+254712345678", "bankCode": "123456", "accountNumber": "1234567890", "country": "Kenya", "invoice": { "referenceId": "1e476673-0931-4eba-8373-37b368ce59f7", "invoiceId": "1e476673-0931-4eba-8373-37b368ce59f7", "amount": 1000, "currency": "KES" } } }
Get Invoice
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
true
"Invoice successfully retrieved"
Show child attributes