Skip to main content
GET
/
api
/
v3
/
cross-boarder
/
invoice
/
{referenceId}
Get Invoice
curl --request GET \
  --url https://sandbox-api.kotanipay.com/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 details for cross-border payments.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

referenceId
string
required

Response

success
boolean
Example:

true

message
string
Example:

"Invoice successfully retrieved"

data
object