Skip to main content

multi_subscriptions

When a new FPS subscription is added for a payer and issuing bank that are already in use, the bank may display the following message: "You have already linked an account." This leaves the payer unsure whether the new subscription was actually registered.

To enable an unlimited number of distinct subscriptions to be created successfully and to eliminate the confusion described above, also pass the subscription_service_info object, which contains the subscription identifier ("id") and name ("name").

Request example
curl -X POST \
https://demo.smart-glocal.com/api/v1/session/init/payment \
-H 'Content-Type: application/json' \
-H 'X-PARTNER-PROJECT: your_project_name' \
-H 'X-PARTNER-SIGN: signature' \
-d '{
"payment_details": {
"type": "faster_payment_system",
"faster_payment_system": {
"subscription_service_info": {
"id": "54f731a9f86b46188b8751cb933fb3ff", // subscription identifier
"name": "subscription1" // subscription name
}
}
},
"amount_details": {
"amount": 1000,
"currency": "rub"
},
"customer": {
"reference": "lucky"
},
"payment_options": {
"recurrent": true
}
}'