pg_card_token_to together with the same pg_user_id.pg_post_link.pg_status | Meaning | Next step |
|---|---|---|
ok | The payout is made. | Nothing else is needed. |
process | The payment system has not returned the result yet. | Wait for the result at pg_post_link, or request Get payout status until it is final. |
error | The request is rejected or the payout is declined. | See «Errors» below. To find a declined payout, request Get payout status by pg_order_id. |
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. |
1804 | The card is not found by pg_card_token_to and pg_user_id. | Check the token and pass the pg_user_id the card was saved for. |
1806 | The corporate card for payouts is not set up for the merchant. | Contact Freedom Pay. |
1360 | Not enough money on the payout balance. | Top up the payout balance: see Get payout balance. |
10000 | Payouts to cards are not enabled for the merchant, or the payout could not be performed. | Contact Freedom Pay or repeat the request later. |
| Other codes | The payment system declined the payout. | See Error codes. |
pg_sig is calculated with the payout secret key test_secret_key.