pg_payment_id or by pg_order_id. A declined payout has no pg_payment_id in the payout response: find it by pg_order_id.pg_payment_id as a number: a string returns 9999.pg_status | Meaning | Next step |
|---|---|---|
ok | The payout is found: its status is in pg_payment_status. | If pg_payment_status is new or process, request the status again later or wait for the notification to pg_post_link. |
error | The request is rejected. | See «Errors» below. |
200; error responses are not signed.pg_error_code | When | What to do |
|---|---|---|
1200 | pg_merchant_id is not passed, or neither pg_payment_id nor pg_order_id is passed. | Pass pg_merchant_id and one of pg_payment_id or pg_order_id. |
11068 | The payout is not found: wrong ID or order ID, or the payout belongs to another merchant. | Check the request. |
9999 | pg_payment_id is passed as a string in JSON, or an internal error occurred. | Pass pg_payment_id as a number; repeat the request later. |
pg_sig is calculated with the payout secret key test_secret_key.