post https://api.staging.pungle.co/api/v1/transactions/reverse
Reverse a previous Pull transaction.
This allows you to return funds to a Financial Account from which funds where previously pulled.
Request
| Field | Type | Description |
|---|---|---|
| amount | integer, required | transaction amount, smallest unit in currency (example 100000 for $100.00 CAD ) |
| currency | string, required | transaction currency, 3 character code |
| pull_transaction_id | string, required | id of the original pull transaction |
| idempotency_key | string | unique value to associate with the transaction request |
| external_tag | string | User defined external tag |
EFT only fields
These fields will only effect transactions on the EFT network.
| Field | Type | Description |
|---|---|---|
| descriptor | string, optional | descriptor that will be displayed to the owner of the financial account. Usually an invoice or pay stub number |
| originator_id | number, optional | Allows sending a different originator with the EFT than the default. |
Response
| Field | Value | Description |
|---|---|---|
| status | string | The transaction status |
| id | alphanumeric | The transaction ID |
| financial_account | alphanumeric | The encrypted financial account associated with the transaction |
| currency | string | The country currency for the transaction |
| amount | number | The amount of the transaction |
| gateway_codes | array | Codes returned from the gateway. Each code is an object that includes a code and message field. |