RubinPay¶
Set up Account¶
Step 1: Create merchant account¶
To create an account send connection request to the manager directly. Submit the required documents to verify your account and gain access.
Step 2: Get required credentials¶
Credentials that have to be issued:
- Merchant ID → RubinPay's support manager provides you with your Merchant ID.
- Public Key and Private Key → You should generate an API key on your side and share the public key with your RubinPay support manager.
Connect H2H Merchant Account¶
Step 1. Connect H2H account at the Corefy Dashboard¶
Press Connect at RubinPay Provider Overview page in 'New connection' section and choose H2H Merchant account option to open Connection form.
Enter credentials:
- Merchant ID → Merchant ID
- Public Key → Public Key (Upload text file with your public key)
- Private Key → Private Key (Upload text file with your private key)
- Currency → choose currency (You can set these parameters according to available currencies and features for your RubinPay wallets and services, but it's necessary to check details of the connection with your Corefy account manager.)
Success
You have connected RubinPay H2H merchant account!
API examples:¶
Data set to create a transaction¶
POST /api/commerce/payment-invoices HTTP/1.1
{
"data":{
"type":"payment-invoice",
"attributes":{
"service":"payment_card_eur_hpp",
"commerce_account":"Hello World",
"currency":"EUR",
"amount":10,
"flow":"charge",
"gateway_options":{
"customer":{
"reference_id":"054e2576-7b38-4e6c-bd57-8f66c14e920b",
"name":"Daria Kokotova",
"email":"[email protected]",
"phone":"+351915032559",
"date_of_birth":"2000-10-13",
"address":{
"full_address":"Porto 357",
"country":"PT",
"city":"Porto"
}
},
"test_mode":false,
"options":{
"allow_partially":false
},
"reference_id":"ba343a17-2381-4954-8e97-8eb6c1d1065f",
"service_fields":[]
}
}
}
Additional information¶
Provider Options¶
- ignore_callback → For cascading to work correctly, we exclude the possibility of finalizing payments using asynchronous callbacks, ignore the callback, do not change the status of the transaction on it in any way and rely only on the status request for finalization (Reconciliation)
Still looking for help connecting your RubinPay account?