SimulatePaymentRequest
Request to simulate a payment against a payment request in sandbox environments
paymentRequestReferencestringrequired
Identifies the payment request. Supply any one of:
- the
idreturned byPOST /v1/collections/payment-requests - your client-provided
externalId - Hubpay's
paymentLinkReference(the reference in the payment URL)
The legacy JSON field name paymentRequestId is also accepted.
Possible values: non-empty
Example:
REQ-123456paymentMethodstringrequired
The payment method to simulate
Possible values: [BANK_TRANSFER, CRYPTO, CARD]
Example:
BANK_TRANSFERamountnumber
Amount to simulate. If omitted, the full remaining balance is used
Example:
1000cryptoCurrencystring
Cryptocurrency to simulate (USDT or USDC). Defaults to USDT. Only applicable when paymentMethod is CRYPTO
Example:
USDTSimulatePaymentRequest
{
"paymentRequestReference": "REQ-123456",
"paymentMethod": "BANK_TRANSFER",
"amount": 1000,
"cryptoCurrency": "USDT"
}