Create a mock payment for a payment method

[Available in Sandbox environment only] Simulate a payment to a payment method. Note that payments captured by static payment methods cannot be cancelled.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The unique identifier id of the payment method you are trying to simulate payments for.

Body Params
string

The task action to be performed. In this case, as we are simulating a payment being received by a given Payment Method, this value should be set as "receive_payment".

options
object

These are options you can set for the payment simulation. You can set the amount to be received for now.

Headers
string

application/vnd.api+json

Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json