Deposit from Saved Card – 3DS (Gateway) #
Requests a 3-D Secure challenge for an existing payment method via the public gateway host.
Endpoint #
POST https://api-test.10npay.com/app/deposit-money-from-existing-card-payment-method-3d
Request body #
{
"transactionAmount": 233,
"transactionCharge": 3.33,
"paymentMethodId": "4000000000000004",
"transactionCurrency": "BGN",
"accountNumber": "00700004",
"deviceIP": "94.72.159.162"
}
Response #
{
"data": "e375c187afa92354601f0ad4618fad76d75dd80e",
"redirectUrl": "https://dev-ipg.icards.eu/sandbox/"
}
Render the iCard modal using the same pattern as the new-card flow. Once the PSP finishes, refresh wallet balances to confirm the deposit.
Typical errors #
- 400 – inactive payment method or validation issue.
- 401 – bearer token missing.
- 404 – accountNumber or paymentMethodId not found.
- 500 – PSP declined; surface the message to the user.
