Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mintlify/global-p2p/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ In this guide, the entities map as follows:
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000005",
"status": "PROCESSING",
"type": "OUTGOING",
"direction": "DEBIT",
"customerId": "Customer:019542f5-b3e7-1d02-0000-000000000001",
"platformCustomerId": "alice_user_id",
"source": {
Expand Down Expand Up @@ -243,6 +244,7 @@ In this guide, the entities map as follows:
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000005",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"sentAmount": { "amount": 10000, "currency": { "code": "USDC", "decimals": 2 } },
"receivedAmount": { "amount": 168500, "currency": { "code": "MXN", "decimals": 2 } },
"customerId": "Customer:019542f5-b3e7-1d02-0000-000000000001",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ When someone initiates a payment to one of your users' UMA addresses, you'll rec
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000005",
"status": "PENDING",
"type": "INCOMING",
"direction": "CREDIT",
"source": {
"sourceType": "UMA_ADDRESS",
"umaAddress": "$mary.sender@thelessgoodbank.com"
Expand Down Expand Up @@ -147,6 +148,7 @@ When the payment completes, you'll receive another webhook notifying you of the
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000005",
"status": "COMPLETED",
"type": "INCOMING",
"direction": "CREDIT",
"source": {
"sourceType": "UMA_ADDRESS",
"umaAddress": "$mary.sender@thelessgoodbank.com"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ curl -X GET 'https://api.lightspark.com/grid/2025-10-13/transactions' \
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000030",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"source": {
"accountId": "InternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965",
"currency": "USD"
Expand Down
3 changes: 3 additions & 0 deletions mintlify/payouts-and-b2b/payment-flow/send-payment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ curl -X POST 'https://api.lightspark.com/grid/2025-10-13/transfer-out' \
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000015",
"status": "PENDING",
"type": "OUTGOING",
"direction": "DEBIT",
"source": {
"accountId": "InternalAccount:a12dcbd6-dced-4ec4-b756-3c3a9ea3d123",
"currency": "USD"
Expand Down Expand Up @@ -141,6 +142,7 @@ You'll receive `OUTGOING_PAYMENT.<STATUS>` webhooks as the transaction progresse
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000015",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"sentAmount": { "amount": 12550, "currency": { "code": "USD", "decimals": 2 } },
"receivedAmount": { "amount": 12550, "currency": { "code": "USD", "decimals": 2 } },
"settledAt": "2025-10-03T15:02:30Z"
Expand Down Expand Up @@ -323,6 +325,7 @@ curl -X POST 'https://api.lightspark.com/grid/2025-10-13/quotes/Quote:019542f5-b
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000030",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"sentAmount": {
"amount": 10000,
"currency": { "code": "USD", "symbol": "$", "decimals": 2 }
Expand Down
2 changes: 2 additions & 0 deletions mintlify/payouts-and-b2b/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ During the funding process, you'll receive transaction status update webhooks.
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000010",
"status": "COMPLETED",
"type": "INCOMING",
"direction": "CREDIT",
"receivedAmount": {
"amount": 100000,
"currency": {
Expand Down Expand Up @@ -419,6 +420,7 @@ The quote status changes to `PROCESSING` and the transfer is initiated. You'll r
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000015",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"sentAmount": {
"amount": 50000,
"currency": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ POST /transfer-out
{
"id": "Transaction:...",
"status": "PENDING",
"type": "OUTGOING"
"type": "OUTGOING",
"direction": "DEBIT"
}
```

Expand Down Expand Up @@ -170,6 +171,7 @@ When a payment fails or is cancelled, refunds are tracked in a dedicated object
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000030",
"status": "FAILED",
"type": "OUTGOING",
"direction": "DEBIT",
"failureReason": "QUOTE_EXECUTION_FAILED",
"refund": {
"reference": "UMA-Q12345-REFUND",
Expand Down Expand Up @@ -209,6 +211,7 @@ Outgoing payment webhooks use the format `OUTGOING_PAYMENT.<STATUS>`. The webhoo
"id": "Transaction:...",
"status": "PENDING",
"type": "OUTGOING",
"direction": "DEBIT",
"sentAmount": {"amount": 100000, "currency": {"code": "USD"}},
"receivedAmount": {"amount": 92000, "currency": {"code": "EUR"}},
"createdAt": "2025-10-03T15:00:00Z"
Expand Down Expand Up @@ -374,6 +377,7 @@ GET /transactions?customerId=Customer:abc123&startDate=2025-10-01T00:00:00Z&limi
"id": "Transaction:...",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"sentAmount": {"amount": 100000, "currency": {"code": "USD"}},
"receivedAmount": {"amount": 92000, "currency": {"code": "EUR"}},
"settledAt": "2025-10-03T15:05:00Z"
Expand Down
1 change: 1 addition & 0 deletions mintlify/ramps/platform-tools/sandbox-testing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ Within seconds, you'll receive a webhook notification confirming the on-ramp com
"id": "Transaction:sandbox025",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"sentAmount": {
"amount": 10000,
"currency": { "code": "USD" }
Expand Down
1 change: 1 addition & 0 deletions mintlify/ramps/platform-tools/webhooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Grid sends webhooks for key events in the ramp lifecycle:
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000025",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"sentAmount": {
"amount": 10000,
"currency": { "code": "USD", "decimals": 2 }
Expand Down
2 changes: 2 additions & 0 deletions mintlify/ramps/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ curl -X POST "https://api.lightspark.com/grid/2025-10-13/sandbox/send" \
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000025",
"status": "PROCESSING",
"type": "OUTGOING",
"direction": "DEBIT",
"customerId": "Customer:019542f5-b3e7-1d02-0000-000000000001",
"platformCustomerId": "customer_12345",
"source": {
Expand Down Expand Up @@ -261,6 +262,7 @@ Once Grid receives your payment and completes the USD-to-BTC conversion and deli
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000025",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"sentAmount": {
"amount": 10000,
"currency": {
Expand Down
1 change: 1 addition & 0 deletions mintlify/rewards/developer-guides/distributing-rewards.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ When the Bitcoin transfer completes, you'll receive a webhook:
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000025",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"sentAmount": {
"amount": 100,
"currency": { "code": "USD" }
Expand Down
1 change: 1 addition & 0 deletions mintlify/rewards/developer-guides/listing-transactions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ curl -X GET 'https://api.lightspark.com/grid/2025-10-13/transactions' \
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000025",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"source": {
"accountId": "InternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965",
"currency": "USD"
Expand Down
1 change: 1 addition & 0 deletions mintlify/rewards/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ When the Bitcoin transfer completes, you'll receive a webhook notification:
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000025",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"sentAmount": {
"amount": 100,
"currency": {
Expand Down
2 changes: 2 additions & 0 deletions mintlify/snippets/error-handling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ When a transaction fails, the `failureReason` field provides specific details:
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000030",
"status": "FAILED",
"type": "OUTGOING",
"direction": "DEBIT",
"failureReason": "QUOTE_EXECUTION_FAILED"
}
```
Expand All @@ -153,6 +154,7 @@ When a transaction fails, the `failureReason` field provides specific details:
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000005",
"status": "FAILED",
"type": "INCOMING",
"direction": "CREDIT",
"failureReason": "PAYMENT_APPROVAL_TIMED_OUT"
}
```
Expand Down
2 changes: 2 additions & 0 deletions mintlify/snippets/reconciliation/reconciliation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Sample webhook payload:
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000030",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"source": {
"sourceType": "ACCOUNT",
"accountId": "InternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965"
Expand Down Expand Up @@ -90,6 +91,7 @@ Response
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000030",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"source": {
"sourceType": "ACCOUNT",
"accountId": "InternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965"
Expand Down
2 changes: 2 additions & 0 deletions mintlify/snippets/sending/cross-currency.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ curl -X POST 'https://api.lightspark.com/grid/2025-10-13/quotes/Quote:019542f5-b
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000030",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"sentAmount": { "amount": 10000, "currency": { "code": "USD", "decimals": 2 } },
"receivedAmount": { "amount": 9200, "currency": { "code": "EUR", "decimals": 2 } },
"exchangeRate": 0.92,
Expand Down Expand Up @@ -277,6 +278,7 @@ Grid automatically detects blockchain deposits and processes the transfer once f
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000030",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"sentAmount": { "amount": 10000, "currency": { "code": "USDC", "decimals": 2 } },
"receivedAmount": { "amount": 9200, "currency": { "code": "EUR", "decimals": 2 } },
"exchangeRate": 0.92,
Expand Down
2 changes: 2 additions & 0 deletions mintlify/snippets/sending/same-currency.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ curl -X POST 'https://api.lightspark.com/grid/2025-10-13/transfer-out' \
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000015",
"status": "PENDING",
"type": "OUTGOING",
"direction": "DEBIT",
"source": {
"sourceType": "ACCOUNT",
"accountId": "InternalAccount:a12dcbd6-dced-4ec4-b756-3c3a9ea3d123"
Expand Down Expand Up @@ -78,6 +79,7 @@ curl -X POST 'https://api.lightspark.com/grid/2025-10-13/transfer-out' \
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000015",
"status": "COMPLETED",
"type": "OUTGOING",
"direction": "DEBIT",
"sentAmount": { "amount": 12550, "currency": { "code": "USD", "decimals": 2 } },
"receivedAmount": { "amount": 12550, "currency": { "code": "USD", "decimals": 2 } },
"settledAt": "2025-10-03T15:02:30Z"
Expand Down
Loading