Skip to main content
GET
/
v1
/
ramp
/
subaccount
/
{id}
/
payments
Get all payments
curl --request GET \
  --url https://staging-api.bullring.finance/v1/ramp/subaccount/{id}/payments \
  --header 'x-api-key: <api-key>'
[
  {
    "id": "06506c54-8df0-4d5f-bdc0-50dbe29fb84e",
    "lightningInvoice": "lnbcrt17171u1p5qr8k8pp5...",
    "paymentHash": null,
    "paymentRequestAmount": 1000,
    "paymentRequestCurrency": "brl",
    "invoiceCurrency": "usdt",
    "invoiceAmount": 17171,
    "status": "unpaid",
    "note": "Milk x 5",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Subaccount ID (UUID)

Response

List of payments retrieved successfully

id
string<uuid>
required
Example:

"06506c54-8df0-4d5f-bdc0-50dbe29fb84e"

lightningInvoice
string
required
Example:

"lnbcrt17171u1p5qr8k8pp5..."

paymentRequestAmount
number
required
Example:

1000

status
string
required
Example:

"unpaid"

paymentHash
string | null
Example:

null

paymentRequestCurrency
string
Example:

"brl"

invoiceCurrency
string
Example:

"usdt"

invoiceAmount
number
Example:

17171

note
string
Example:

"Milk x 5"

createdAt
string<date-time>
updatedAt
string<date-time>