Process Payment
Used to manually move a payment that is currently in pending or cancelled state to processing state.
Method: POST
Action: process-payment
Request
Format: POST data
- action
required
: string (32)
Remark |
Sample |
The action of this call, must be hardcoded to “process-payment” |
process-payment |
- timestamp
required
: timestamp
Remark |
Sample |
The timestamp for this API call |
- |
- api_key
required
: string (32)
Remark |
Sample |
Pipwave-assigned merchant’s API key |
123456 |
- pw_id
*required
: string (32)
Remark |
Sample |
pipwave’s transaction reference ID, either this or txn_id must be sent |
123456 |
- txn_id
*required
: string (255)
Remark |
Sample |
Merchant’s transaction ID, either this or pw_id must be sent |
123456 |
Remark |
Sample |
The reason for the state change, non-mandatory |
Buyer cancelled |
Remark |
Sample |
The reference of the payment |
A12131415 |
Response
Format: JSON
Remark |
Sample |
Status of the request. Refer to appendix for list of possible values |
0 |
Remark |
Sample |
Error message, if any |
- |
Signature
The data involved in generating the signature for this API are:
- timestamp
- action
- api_key
- pw_id, if provided
- txn_id, if provided
- reason, if provided
- ref_tag, if provided
- api_secret