Skip to main content

SimulatePaymentCompletionRequest

Request to complete an existing testnet crypto payment in sandbox environments

paymentRequestReferencestringrequired

Identifies the payment request. Supply its Hubpay ID, your externalId, or its paymentLinkReference. The legacy JSON field name paymentRequestId is also accepted.

Possible values: non-empty

Example: ORDER-10045
paymentIdstring<uuid>required

ID of the existing crypto payment returned by the payment-request query

Example: a1b2c3d4-5678-40ab-8def-1234567890ab
SimulatePaymentCompletionRequest
{
"paymentRequestReference": "ORDER-10045",
"paymentId": "a1b2c3d4-5678-40ab-8def-1234567890ab"
}