How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Lightspark Sandbox API

Endpoints to trigger test cases in sandbox

Lightspark Sandbox API is one of 22 APIs that Lightspark publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Sandbox. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 7 operations across 7 paths, and defines 180 schemas. It is described by OpenAPI 3.1.0, at version 2025-10-13.

Requests are made against a single base URL, https://api.lightspark.com/grid/2025-10-13.

7 operations 7 paths 180 schemas 7 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2025-10-13
Base URL
https://api.lightspark.com/grid/2025-10-13
Authentication
HTTP Basic, HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 3

Lightspark Sandbox API declares 3 security schemes for authenticating requests. It accepts HTTP basic authentication (BasicAuth). It accepts HTTP bearer tokens (AgentAuth). An API key is passed in the header as X-Grid-Signature (WebhookSignature). By default, every request must be authenticated.

  • BasicAuth — API token authentication using format :
  • AgentAuth — Bearer token authentication for agent-scoped endpoints. The token is the accessToken returned when redeeming a device code via POST /agents/device-codes/{code}…
  • WebhookSignature — Secp256r1 (P-256) asymmetric signature of the webhook payload, which can be used to verify that the webhook was sent by Grid. To verify the signature: 1. Get t…

Paths & Operations 7

Across 7 paths, the API surfaces 7 operations — 7 POST. Each is listed below with its method, path, parameters, and response codes.

Sandbox 7

Endpoints to trigger test cases in sandbox

POST
/sandbox/webhooks/test
Send a test webhook
sendTestWebhook → 200400401500
POST
/sandbox/send
Simulate sending funds
sandboxSend body → 200400401403404500
POST
/sandbox/uma/receive
Simulate payment send to test receiving an UMA payment
sandboxReceive body → 200400401403404500
POST
/sandbox/internal-accounts/{accountId}/fund
Simulate funding an internal account
sandboxFundInternalAccount 1 param body → 200400401403404500
POST
/sandbox/cards/{id}/simulate/authorization
Simulate a card authorization
sandboxSimulateCardAuthorization 1 param body → 200400401403404500
POST
/sandbox/cards/{id}/simulate/clearing
Simulate a card clearing
sandboxSimulateCardClearing 1 param body → 200400401403404500
POST
/sandbox/cards/{id}/simulate/return
Simulate a card return
sandboxSimulateCardReturn 1 param body → 200400401403404500

Schemas 180

The contract defines 180 schemas that model the data the API accepts and returns. The most detailed are CardTransaction (20 properties), Transaction (14 properties), InternalAccount (10 properties), BdtAccountInfoBase (6 properties). Each schema is shown below with its type and property counts.

PaymentEmbeddedWalletInfo
EurAccountInfoBase
object
3 properties 2 required
PaymentBwpAccountInfo
PaymentSlvAccountInfo
PaymentVndAccountInfo
TzsAccountInfo
PaymentBrlAccountInfo
PaymentJmdAccountInfo
PaymentHkdAccountInfo
SandboxUmaReceiveRequest
object
5 properties 3 required
TransactionStatus
string
Status of a payment transaction. | Status | Description | |--------|-------------| | CREATED | Initial lookup has been created | | PENDING | Quote has been cre…
InrAccountInfo
Error404
object
4 properties 3 required
BaseTransactionDestination
object
2 properties 1 required
GtqAccountInfoBase
object
4 properties 4 required
CadAccountInfoBase
object
4 properties 4 required
EgpAccountInfo
PaymentNgnAccountInfo
PaymentHtgAccountInfo
BaseWalletInfo
object
2 properties 2 required
SandboxFundRequest
object
1 property 1 required
PaymentEgpAccountInfo
GbpAccountInfoBase
object
3 properties 3 required
PaymentRail
string
The payment rail used for the transfer. Payment rails represent the underlying payment network or system used to move funds between accounts.
PaymentSparkWalletInfo
ThbAccountInfo
MwkAccountInfo
SandboxSendRequest
object
3 properties 2 required
OutgoingRateDetails
object
Details about the rate and fees for an outgoing transaction or quote. Note: counterpartyFixedFee is denominated in the receiving currency, so its equivalent va…
6 properties 6 required
XafAccountInfo
PaymentPhpAccountInfo
PaymentKesAccountInfo
OutgoingTransactionStatus
string
Status of an outgoing payment transaction. | Status | Description | |--------|-------------| | PENDING | Quote is pending confirmation | | PENDINGAUTHORIZATION…
DkkAccountInfo
CardPullSummary
object
3 properties 2 required
PaymentBdtAccountInfo
HtgAccountInfo
CurrencyAmount
object
2 properties 2 required
IncomingTransaction
MyrAccountInfoBase
object
4 properties 4 required
TransactionSourceOneOf
OutgoingTransactionFailureReason
string
Reason for failure of an outgoing transaction. This is used to provide more context on why a transaction failed. If the transaction is not in a failed state, t…
PaymentSwiftAccountInfo
Error400
object
4 properties 3 required
HtgAccountInfoBase
object
2 properties 2 required
IdrAccountInfoBase
object
5 properties 5 required
PaymentThbAccountInfo
Error500
object
4 properties 3 required
RwfAccountInfo
HkdAccountInfoBase
object
4 properties 4 required
SwiftAccountInfoBase
object
6 properties 4 required
TestWebhookResponse
object
3 properties 1 required
EurAccountInfo
PaymentZarAccountInfo
PaymentInstructions
object
3 properties 1 required
BasePaymentAccountInfo
object
1 property 1 required
ZarAccountInfo
ZmwAccountInfo
Error403
object
4 properties 3 required
IncomingTransactionFailureReason
string
Reason for failure of an incoming transaction. This is used to provide more context on why a transaction failed. If the transaction is not in a failed state, t…
PaymentXofAccountInfo
AccountTransactionSource
KesAccountInfoBase
object
3 properties 3 required
PaymentSolanaWalletInfo
UgxAccountInfoBase
object
3 properties 3 required
TransactionType
string
Type of transaction (incoming payment or outgoing payment)
MxnAccountInfoBase
object
2 properties 2 required
InrAccountInfoBase
object
Required fields depend on the selected paymentRails: - NEFT: accountNumber, ifsc, rail - RTGS: accountNumber, ifsc, rail - UPI: vpa
6 properties 1 required
PolygonWalletInfo
object
2 properties 2 required
PaymentTzsAccountInfo
TransactionDirection
string
Whether the transaction credits (funds in) or debits (funds out) the customer's account. Independent of type: an incoming transaction is normally a CREDIT, but…
SandboxCardClearingRequest
object
Sandbox-only request body for POST /sandbox/cards/{id}/simulate/clearing. Drives a clearing event against an existing CardTransaction. Pass an amount greater t…
2 properties 2 required
IdrAccountInfo
PaymentCadAccountInfo
PaymentZmwAccountInfo
TransactionDestinationOneOf
PaymentUsdAccountInfo
MwkAccountInfoBase
object
3 properties 3 required
Error401
object
4 properties 3 required
RealtimeFundingTransactionSource
SolanaWalletInfo
object
2 properties 2 required
RwfAccountInfoBase
object
3 properties 3 required
PaymentAedAccountInfo
SlvAccountInfoBase
object
Required fields depend on the selected paymentRails: - BANKTRANSFER: bankAccountType, accountNumber - MOBILEMONEY: phoneNumber
5 properties 1 required
JmdAccountInfo
PhpAccountInfoBase
object
3 properties 3 required
GhsAccountInfoBase
object
Required fields depend on the selected paymentRails: - BANKTRANSFER: accountNumber, bankName - MOBILEMONEY: bankName, phoneNumber
4 properties 2 required
AedAccountInfoBase
object
3 properties 2 required
MxnAccountInfo
SandboxCardAuthorizationRequest
object
Sandbox-only request body for POST /sandbox/cards/{id}/simulate/authorization. Drives the same internal authorization + reconcile paths that the issuer would c…
3 properties 3 required
PaymentPolygonWalletInfo
GhsAccountInfo
PaymentRwfAccountInfo
OutgoingTransaction
BdtAccountInfo
ReconciliationInstructions
object
Instructions for reconciling a payment with this transaction. For the on-chain transaction to or from an external crypto wallet that is the transaction's own s…
2 properties
EthereumWalletInfo
object
2 properties 2 required
CardTransaction
object
Parent transaction row for a card authorization and all of the pulls / settlements / refunds that reconcile against it. Child events are rolled up into the pul…
20 properties 12 required
TronWalletInfo
object
2 properties 2 required
CardSettlementSummary
object
2 properties 2 required
PaymentInrAccountInfo
PaymentAccountType
string
Type of payment account or wallet
CardRefundSummary
object
2 properties 2 required
PaymentEurAccountInfo
CardTransactionStatus
string
Lifecycle status of a card transaction. | Status | Description | |--------|-------------| | AUTHORIZED | The auth has been approved and a hold placed on the fu…
CnyAccountInfoBase
object
Required fields depend on the selected paymentRails: - BANKTRANSFER: accountNumber, bankName - MOBILEMONEY: bankName, phoneNumber
4 properties 2 required
CounterpartyInformation
object
Additional information about the counterparty, if available and relevant to the transaction and platform.
UmaAddressTransactionSource
AccountTransactionDestination
KesAccountInfo
GbpAccountInfo
OnChainTransaction
object
2 properties 2 required
CryptoNetwork
string
The blockchain network an on-chain transaction settled on. Whether this is the mainnet or a test network (e.g. Solana devnet) is determined by your platform's…
TransactionSourceType
string
Type of transaction source
JmdAccountInfoBase
object
5 properties 5 required
TransactionDestinationType
string
Type of transaction destination
CnyAccountInfo
UgxAccountInfo
SwiftAccountInfo
BwpAccountInfo
Transaction
object
14 properties 7 required
PaymentMwkAccountInfo
InternalAccountType
string
Classification of an internal account. - INTERNALFIAT: A Grid-managed fiat holding account (for example, the USD holding account used as the source for Payouts…
RailSelectionMode
string
How the payment rail was chosen — MANUAL when the platform specified a paymentRail on the destination, AUTO when Lightspark selects it.
NgnAccountInfoBase
object
3 properties 3 required
PaymentIdrAccountInfo
SlvAccountInfo
PaymentLightningInvoiceInfo
InternalAccount
object
10 properties 8 required
AedAccountInfo
TzsAccountInfoBase
object
3 properties 3 required
PaymentSgdAccountInfo
ThbAccountInfoBase
object
4 properties 4 required
PhpAccountInfo
PaymentCnyAccountInfo
PaymentGtqAccountInfo
NgnAccountInfo
XafAccountInfoBase
object
4 properties 4 required
PaymentPkrAccountInfo
PaymentEthereumWalletInfo
BdtAccountInfoBase
object
Required fields depend on the selected paymentRails: - BANKTRANSFER: accountNumber, bankName - MOBILEMONEY: bankName, phoneNumber
6 properties 2 required
PaymentUgxAccountInfo
MyrAccountInfo
UsdAccountInfoBase
object
3 properties 3 required
XofAccountInfoBase
object
4 properties 4 required
PaymentBaseWalletInfo
VndAccountInfo
PkrAccountInfo
PkrAccountInfoBase
object
Required fields depend on the selected paymentRails: - BANKTRANSFER: accountNumber, bankName - MOBILEMONEY: bankName, phoneNumber
5 properties 2 required
PaymentMxnAccountInfo
EgpAccountInfoBase
object
Required fields depend on the selected paymentRails: - BANKTRANSFER: bankName, iban - MOBILEMONEY: bankName, phoneNumber
4 properties 2 required
PaymentXafAccountInfo
SparkWalletInfo
object
2 properties 2 required
DkkAccountInfoBase
object
3 properties 2 required
PaymentCopAccountInfo
ZmwAccountInfoBase
object
3 properties 3 required
VndAccountInfoBase
object
4 properties 4 required
BaseTransactionSource
object
2 properties 1 required
IncomingRateDetails
object
Details about the rate and fees for an incoming transaction. Note: gridApiFixedFee is denominated in the receiving currency, so its equivalent value in the sen…
4 properties 4 required
PaymentGhsAccountInfo
InternalAccountStatus
string
Status of a Grid internal account. The status determines whether the account can send or receive payments. - PENDING: The account is under review and is being…
PaymentDkkAccountInfo
PaymentMyrAccountInfo
UmaAddressTransactionDestination
PaymentGbpAccountInfo
HkdAccountInfo
Currency
object
4 properties
BwpAccountInfoBase
object
3 properties 3 required
Refund
object
5 properties 3 required
SgdAccountInfo
ZarAccountInfoBase
object
3 properties 3 required
PaymentArsAccountInfo
SgdAccountInfoBase
object
4 properties 3 required
CadAccountInfo
CardMerchant
object
3 properties 1 required
UsdAccountInfo
XofAccountInfo
GtqAccountInfo
SandboxCardReturnRequest
object
Sandbox-only request body for POST /sandbox/cards/{id}/simulate/return. Drives a RETURN event against an existing settled CardTransaction, which creates a Card…
2 properties 2 required
PaymentTronWalletInfo

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

lightspark-sandbox-api-openapi.yml Raw ↑

Other APIs Lightspark publishes across the network.

Lightspark Agent Management API
Lightspark Agent Operations API
Lightspark API Tokens API
Lightspark Available UMA Providers API
Lightspark Cards API
Lightspark Contact Verification API
Lightspark Cross-Currency Transfers API
Lightspark Customers API
Lightspark Discoveries API
Lightspark Documents API
Lightspark Embedded Wallet Auth API
Lightspark Exchange Rates API
Where this information came from

This is an independent, third-party profile of Lightspark Sandbox API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.