List All Disbursement Receivers
GET/disbursements/:id/receivers
Fetches a list of receivers within a specific disbursement using the disbursement id
. This endpoint supports pagination.
Request
Path Parameters
ID of the Disbursement
Query Parameters
The page number to fetch.
The number of records to return per page.
Responses
- 200
- 401
- 403
- 404
A list of Disbursement Receivers
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
Array [
]
]
pagination
object
data
object[]
receiver_wallet
object
receiver
object
wallet
object
timestamp when the receiver last received an SMS about this wallet
received_amounts
object[]
Possible values: [DRAFT
, READY
, REGISTERED
, FLAGGED
]
status_history
object[]
Possible values: [DRAFT
, READY
, REGISTERED
, FLAGGED
]
payment
object
The amount of the payment
The ID of the transaction in the Stellar network. It can be used tio track the payment in the Stellar network using Stellar Laboratory, or StellarExpert.
The Circle transfer request ID. It is only present when the payment was made using Circle.
Possible values: [DRAFT
, READY
, PENDING
, PAUSED
, SUCCESS
, FAILED
]
The status of the payment
status_history
object[]
An aggregated list of metadata objects containing the statuses and the timestamp of when these status changes occurred.
Possible values: [DRAFT
, READY
, PENDING
, PAUSED
, SUCCESS
, FAILED
]
The status of the payment
disbursement
object
The unique identifier of the disbursement
The name of the disbursement
Possible values: [DRAFT
, READY
, STARTED
, PAUSED
, COMPLETED
]
The creation timestamp of the disbursement
The last update timestamp of the disbursement
asset
object
The Stellar asset object
Asset code
Asset issuer address
receiver_wallet
object
receiver
object
wallet
object
Possible values: [DRAFT
, READY
, REGISTERED
, FLAGGED
]
{
"pagination": {
"next": "?page=3&page_limit=2",
"prev": "?page=1&page_limit=2",
"pages": 8,
"total": 16
},
"data": [
{
"id": "ec3a57c0-5660-4b5a-af76-acadc7b09b93",
"email": "receiver@mail.org",
"phone_number": "+15552368475",
"external_id": "usr129001",
"receiver_wallet": {
"id": "803031d4-1d04-4879-b6d9-dc5641f9988e",
"receiver": {
"id": "029e2ed0-feb6-4c40-8b47-0836a85741a2"
},
"wallet": {
"id": "5ada9ed5-455a-4782-a0ee-160767e0deb1",
"name": "Vibrant Assist",
"homepage": "https://vibrantapp.com"
},
"stellar_address": "GCXAJ3XJ3VK3JFH3QMDFOSKM2NMMZBSO3VIT6EUPQWSDW2J74M23RRSL",
"stellar_memo": "string",
"stellar_memo_type": "string",
"created_at": "2023-02-03T10:45:51.000Z",
"updated_at": "2023-02-03T10:45:51.000Z",
"invited_at": "2023-02-09T10:45:51.000Z",
"last_sms_sent": "2023-02-10T10:45:51.000Z",
"total_payments": "2",
"payments_received": "2",
"failed_payments": "0",
"remaining_payments": "0",
"received_amounts": [
{
"asset_code": "USDC",
"asset_issuer": "GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5",
"received_amount": "100.00"
}
],
"status": "DRAFT",
"status_history": [
{
"status": "DRAFT",
"timestamp": "2023-02-10T10:45:51Z"
}
]
},
"payment": {
"id": "ddf22f55-3259-4822-a4e2-ce01334997f4",
"amount": "100.00",
"stellar_transaction_id": "0b339d1c89d314186b8147c2af4c9a9ed5bbdbcd7ada8d138633907649b",
"circle_transfer_request_id": "74a68b6a-3f67-424b-b8b0-e593a19d7463",
"stellar_operation_id": "string",
"status": "DRAFT",
"status_history": [
{
"status": "DRAFT",
"status_message": "string",
"timestamp": "2023-02-03T10:45:51Z"
}
],
"disbursement": {
"id": "c51ba1d5-52d3-412f-a59c-6ef32d59ab43",
"name": "disbursement-june-29",
"status": "DRAFT",
"created_at": "2023-06-30T01:22:57.831975Z",
"updated_at": "2023-06-30T01:22:58.316511Z"
},
"asset": {
"id": "ffaec4b3-46b0-4db4-a4c4-6c3508057705",
"code": "USDC",
"issuer": "GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5",
"created_at": "2023-02-03T10:45:51Z",
"updated_at": "2023-02-03T10:45:51Z",
"deleted_at": "2023-06-03T10:55:51Z"
},
"receiver_wallet": {
"id": "803031d4-1d04-4879-b6d9-dc5641f9988e",
"receiver": {
"id": "029e2ed0-feb6-4c40-8b47-0836a85741a2"
},
"wallet": {
"id": "5ada9ed5-455a-4782-a0ee-160767e0deb1",
"name": "Vibrant Assist",
"homepage": "https://vibrantapp.com"
},
"stellar_address": "GCXAJ3XJ3VK3JFH3QMDFOSKM2NMMZBSO3VIT6EUPQWSDW2J74M23RRSL",
"created_at": "2023-02-03T10:45:51.000Z",
"updated_at": "2023-02-03T10:45:51.000Z",
"status": "DRAFT"
},
"created_at": "2023-02-03T10:45:51Z",
"updated_at": "2023-02-03T10:45:51Z"
},
"created_at": "2023-02-03T10:45:51Z",
"updated_at": "2023-02-03T10:45:51Z"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
extras
object
{
"error": "Not authorized",
"extras": {
"status": 401,
"message": "Not authorized"
}
}
{
"error": "Not authorized",
"extras": {
"status": 401,
"message": "Not authorized"
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "Forbidden"
}
{
"error": "Forbidden"
}
Not Found
- application/json
- Schema
- Example (from schema)
- Example
Schema
extras
object
{
"error": "Not found",
"extras": {
"status": 404,
"message": "Disbursement not found"
}
}
{
"error": "Not found",
"extras": {
"status": 404,
"message": "Disbursement not found"
}
}