Skip to main content

Documentation

Reverse Withdrawal

Reverse a withdrawal of funds from a wallet.

Use this method if a Withdraw operation fails.

Note

The base URL for the POS production environment is https://pos.rapyd.net. It requires its own access key, which is different from the access key for the Payment API. To obtain an access key for the POS production environment and to set up a sandbox environment for the POS API, contact Rapyd Client Support.

    • account

    • ID of the user account. UUID.

    • reversed_amount

    • Amount to reverse. Decimal.

    • transaction_id

    • ID of the withdrawal transaction. UUID.

  • /v1/pos/reversal/{account}/{reversed_amount}

  • Reverse Withdrawal

  • curl -X post
    https://sandboxpos.rapyd.net/v1/pos/reversal/4f436024-c3be-11e7-9273-0ef1982c1e4a/10.99
    -H 'access_key: your-access-key-here'
    -H 'Content-Type: application/json'
    -H 'idempotency: your-idempotency-parameter-here'
    -H 'salt: your-random-string-here'
    -H 'signature: your-calculated-signature-here'
    -H 'timestamp: your-unix-timestamp-here'
    
  • {
        "status": {
            "error_code": "0",
            "status": "SUCCESS",
            "message": "",
            "operation_id": "bb77c943-3e8e-4109-839c-9c404c3f1d42"
        },
        "data": {
            "transaction_id": "",
            "operation_id": "10aaa017-c4ee-4003-bbaf-0e7bbe4e64c4"
        }
    }