v1

latestOpenAPI 3.1.02026-07-26590236.8 KB

Mock Card Charge

This endpoint is only available on the sandbox environment

put/card/mock

Request body

card_idstring required
amountinteger required

Amount should be in subunits, e.g., $1 should be sent as 100.

Response

200

{"stackTrail":"paths:/card/mock:put:responses:200:content:application/json:schema:properties:data","oasType":"schema","type":"unknown"}
messagestring
{"stackTrail":"paths:/card/mock:put:responses:200:content:application/json:schema:properties:meta","oasType":"schema","type":"unknown"}
statusstring

Example response

{
  "message": "Card charge mocked successfully",
  "status": "success"
}