AntrPay¶
Hi! risk - accepting payments for online casinos and bookmakers
Website: landing.antrpay.com
Login: backoffice.antrpay.com
Set up Account¶
Step 1: Create Provider account¶
To create an account send connection request at the landing.antrpay.com or contact manager directly. Submit the required documents to verify your account and gain access.
Step 2: Get required credentials¶
Credentials that have to be issued:
- Public key
- Method type
Connect Provider Account¶
Step 1. Connect Provider account at the Corefy Dashboard¶
Press Connect at Antrpay Provider Overview page in 'New connection' section and choose Provider account option to open Connection form.
Enter credentials:
- public_key → Public key
- method_type → Method type
Success
You have connected Antrpay Provider account!
API examples¶
Data set to create a Payment:¶
POST /api/commerce/payment-invoices HTTP/1.1
{
"data": {
"type": "payment-invoice",
"attributes": {
"service": "payment_card_rub_hpp",
"commerce_account": "Hello_World",
"currency": "RUB",
"amount": 1200,
"flow": "charge",
"customer": {
"reference_id": "cff9b603-8c74-454f-9b66-73f349f12aec",
"metadata": {
"ip": "192.168.72.1"
}
},
"return_url": "https://test.com/default",
"return_urls": {
"fail": "https://test.com/fail",
"pending": "https://test.com/pending",
"success": "https://test.com/success"
},
"test_mode": false,
"options": {
"allow_partially": true
},
"reference_id": "bb756e15-428b-47f8-81dd-90014d5eb607"
}
}
}
Minimum data set to create a Payout:¶
POST /api/commerce/payout-invoices HTTP/1.1
{
"data":{
"type":"payout-invoice",
"attributes":{
"service":"payment_card_rub",
"commerce_account":"Hello_World",
"currency":"RUB",
"amount":500,
"customer":{
"reference_id":"83581ca6-39ce-4183-82a8-0e7cdd797868"
},
"test_mode":false,
"reference_id":"27b3f369-f789-428a-b846-dcee3e3a0eff",
"fields":{
"card_number":"427631******7864"
},
"options":{
"attempts_limit":0,
"split_mode":false,
"allow_partially":false,
"auto_process":false
}
}
}
}
Maximum data set to create a Payout:¶
POST /api/commerce/payout-invoices HTTP/1.1
{
"data":{
"type":"payout-invoice",
"attributes":{
"service":"payment_card_rub",
"commerce_account":"Hello_World",
"currency":"RUB",
"amount":100,
"customer":{
"reference_id":"ffbb1f59-4da2-4c64-8816-8f13df7bdc93",
"email":"[email protected]",
"metadata":{
"ip":"192.168.42.1"
}
},
"test_mode":false,
"reference_id":"65c2a15c-2219-4c2b-a0c9-d138f601b25f",
"fields":{
"card_number":"427631******7864"
},
"options":{
"attempts_limit":0,
"split_mode":false,
"allow_partially":false,
"auto_process":false
}
}
}
}
Constants¶
If some parameters are not sent in the transaction creation request, they will take the values from the set constants.
Here is a list of constants with their corresponding parameters:
- PAYMENT_COMMENT → 'message'->payoutMessage
Question
"Still looking for help connecting your AntrPay account?" Please contact our support team!