pg_payment_status in Get payout status | Meaning |
|---|---|
new | The client has not submitted the page yet. |
process | The payment system has not returned the result yet. |
success | The payout is made. |
error | The payout is declined. |
pg_post_link: fields, signature and retries are described in Payout notify.pg_status | Meaning | Next step |
|---|---|---|
ok | The payout page is created. | Redirect the client to pg_redirect_url. Wait for the notification to pg_post_link, or request Get payout status. |
error | The request is rejected. pg_payment_id is not returned. | See «Errors» below. |
200; the error is returned in pg_error_code and pg_error_description.pg_error_code | When | What to do |
|---|---|---|
94031 | A parameter is missing or has an invalid value. pg_error_description names the parameter. The response is not signed. | Fix the request. |
11005 | pg_amount is missing, is not a number, or is outside the range 0.01–99999999. The response is not signed. | Fix the amount. |
1100 | The signature is missing or invalid, or pg_merchant_id is not found. The response is not signed. | Check the merchant ID and the signature with the payout secret key. |
8022 | pg_payment_route = frame is passed, but payouts in a frame are not enabled for the merchant. | Do not pass pg_payment_route, or contact Freedom Pay. |
99081 | A payout with this pg_order_id already exists: uniqueness of the order ID is enabled for the merchant. | Pass a new pg_order_id. |
1806 | The corporate card for payouts is not set up for the merchant. | Contact Freedom Pay. |
10000 | Payouts to cards are not enabled for the merchant. | Contact Freedom Pay. |
pg_sig is calculated with the payout secret key test_secret_key.