Transactions

Retrieves all cryptocurrency transactions associated with an invoice
API version, must be 1
ID of the invoice to get transactions for
List of transactions successfully retrieved
Unauthorized - Invalid or missing authentication token
Invoice not found
GET /transactions HTTP/1.1
Host: api.simplepay.ai
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"invoice_id": "123e4567-e89b-12d3-a456-426614174000",
"from": "text",
"to": "text",
"rate": "text",
"amount": "text",
"hash": "text",
"block": 1,
"status": "processing",
"created_at": "2025-08-23T18:42:01.282Z",
"updated_at": "2025-08-23T18:42:01.282Z",
"expire_at": "2025-08-23T18:42:01.282Z",
"cryptocurrency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"symbol": "text",
"name": "text",
"decimals": 1,
"stable": true,
"rates": {
"ANY_ADDITIONAL_PROPERTY": 1
}
},
"network": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"symbol": "text",
"name": "text",
"type": "EVM"
}
}
]
Retrieves detailed information about a specific transaction
Transaction ID
API version, must be 1
Transaction details successfully retrieved
Unauthorized - Invalid or missing authentication token
Transaction not found
GET /transaction/{id} HTTP/1.1
Host: api.simplepay.ai
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"invoice_id": "123e4567-e89b-12d3-a456-426614174000",
"from": "text",
"to": "text",
"rate": "text",
"amount": "text",
"hash": "text",
"block": 1,
"status": "processing",
"created_at": "2025-08-23T18:42:01.282Z",
"updated_at": "2025-08-23T18:42:01.282Z",
"expire_at": "2025-08-23T18:42:01.282Z",
"cryptocurrency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"symbol": "text",
"name": "text",
"decimals": 1,
"stable": true,
"rates": {
"ANY_ADDITIONAL_PROPERTY": 1
}
},
"network": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"symbol": "text",
"name": "text",
"type": "EVM"
}
}
Initiates a new cryptocurrency transaction for an invoice. Specifies the sending address and cryptocurrency to be used.
API version, must be 1
ID of the invoice to create transaction for
Cryptocurrency address that will send the payment
Symbol of the cryptocurrency to use (e.g., BTC, ETH)
Blockchain network to use (e.g., ethereum, tron)
Transaction successfully created
Invalid request parameters
Unauthorized - Invalid or missing authentication token
Invoice not found
POST /transaction HTTP/1.1
Host: api.simplepay.ai
Content-Type: application/json
Accept: */*
Content-Length: 108
{
"invoice_id": "123e4567-e89b-12d3-a456-426614174000",
"from": "text",
"cryptocurrency": "text",
"network": "text"
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"invoice_id": "123e4567-e89b-12d3-a456-426614174000",
"from": "text",
"to": "text",
"rate": "text",
"amount": "text",
"hash": "text",
"block": 1,
"status": "processing",
"created_at": "2025-08-23T18:42:01.282Z",
"updated_at": "2025-08-23T18:42:01.282Z",
"expire_at": "2025-08-23T18:42:01.282Z",
"cryptocurrency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"symbol": "text",
"name": "text",
"decimals": 1,
"stable": true,
"rates": {
"ANY_ADDITIONAL_PROPERTY": 1
}
},
"network": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"symbol": "text",
"name": "text",
"type": "EVM"
}
}
Cancels a pending transaction. Only transactions that haven't been confirmed on the blockchain can be cancelled.
Transaction ID to cancel
API version, must be 1
Transaction successfully cancelled
Unauthorized - Invalid or missing authentication token
Transaction not found
Transaction cannot be cancelled (already confirmed)
DELETE /transaction/{id} HTTP/1.1
Host: api.simplepay.ai
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"invoice_id": "123e4567-e89b-12d3-a456-426614174000",
"from": "text",
"to": "text",
"rate": "text",
"amount": "text",
"hash": "text",
"block": 1,
"status": "processing",
"created_at": "2025-08-23T18:42:01.282Z",
"updated_at": "2025-08-23T18:42:01.282Z",
"expire_at": "2025-08-23T18:42:01.282Z",
"cryptocurrency": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"symbol": "text",
"name": "text",
"decimals": 1,
"stable": true,
"rates": {
"ANY_ADDITIONAL_PROPERTY": 1
}
},
"network": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"symbol": "text",
"name": "text",
"type": "EVM"
}
}
Last updated
Was this helpful?