API Documentation for Retrieving Invoice Data via API
This section of the documentation outlines how to retrieve information about a specific invoice using Crypto Payments from E-Gates.
Retrieving an Invoice
This method allows you to retrieve detailed information about a specific invoice using its unique identifier.
Request
URL: /api/external/v1/gateway/payment-invoice/{invoiceId}
Method: GET
Parameters:
invoiceId
(string, required) - Unique identifier of the invoice.
Example Request:
GET /api/external/v1/gateway/payment-invoice/2794c4d4-6feb-4b46-9334-1849af7b1a0f
Response
Successful response:
success
(boolean) - Indicates whether the request was successful.status
(null) - Response status (may be null).response
(object) - Object containing detailed information about the requested invoice.id
(string) - Invoice identifier.invoice
(string) - Unique identifier of the invoice.ticker
(string) - Cryptocurrency ticker of the invoice.currencyName
(string) - Name of the invoice currency.networkName
(string) - Network name (e.g., "ERC-20").payment_method
(string) - Payment method used for the invoice.actualAmount
(string) - Actual payment amount received.invoiceAmount
(string) - Original invoice amount.amountTransaction
(string) - Amount of the transaction.feeTransaction
(string) - Transaction fee.address
(string) - Cryptocurrency address for receiving payment.sysAddress
(null or string) - System address.hash
(string) - Transaction hash.type
(string) - Invoice type (e.g., "CRYPTO").status
(string) - Invoice status (e.g., "SUCCESS").sender_name
(string) - Sender's name.purpose_of_payment
(string) - Purpose of the payment.order_number
(string) - Order number associated with the invoice.createdAt
(string) - Date and time when the invoice was created.updatedAt
(string) - Date and time of the last invoice update.expireAt
(string) - Date and time when the invoice expires.redirectContinue
(string) - URL to continue to after a successful payment.
Example Successful Response:
Note: In case of errors, the errors
field will contain relevant information.
Last updated