Inpay¶
We are the payments people
Website: www.inpay.com
Set up Account Provider account¶
Step 1: Create Provider account¶
To create an account send connection request at the www.inpay.com/contact-us 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:
- inpay__account_number → Account number
- inpay__account_uuid → Account UUID
- inpay__account_token → Account token
- inpay__private_key → Private key
- inpay__privat_ssl_certificate → Private SSL certificate
- inpay__public_ssl_certificate → Public SSL certificate
- inpay__ssl_certificate_chain → SSL certificate chain
Connect Provider Account¶
Step 1. Connect Provider account at the Corefy Dashboard¶
Press Connect at Inpay Provider Overview page in 'New connection' section and choose Provider account option to open Connection form.
Enter credentials:
- Account number
- Account UUID
- Account token
- Private key
- Private SSL certificate
- Public SSL certificate
- SSL certificate chain
- Test mode → true/false
Success
You have connected Inpay Provider account!
API examples:¶
Minimum data set to create a payout invoices for sepa_transfer_eur service¶
PAYOUT
POST /api/commerce/payout-invoices HTTP/1.0
{
"data":{
"type":"payout-invoice",
"attributes":{
"service":"sepa_transfer_eur",
"commerce_account":"hello_world",
"currency":"EUR",
"amount":5,
"test_mode":true,
"reference_id":"1b0e51fe-c4f7-4075-9661-2710adcb4432",
"fields":{
"account_number":"DE89370400440532013000"
},
"options":{
"attempts_limit":0,
"split_mode":false,
"allow_partially":false,
"auto_process":false
}
}
}
}
Maximum data set to create a payout invoices for sepa_transfer_eur service¶
PAYOUT
POST /api/commerce/payout-invoices HTTP/1.0
{
"data":{
"type":"payout-invoice",
"attributes":{
"service":"sepa_transfer_eur",
"commerce_account":"hello_world",
"currency":"EUR",
"amount":7,
"reference_id":"99c6455a-82f7-4387-a30b-009c35bd5d85",
"customer":{
"reference_id":"96742a8c-f25e-4bbc-a6a1-f16ce3e5d18d",
"name":"John Wick",
"email":"[email protected]",
"phone":"+446456456667",
"date_of_birth":"2009-10-20",
"individual_tax_id":"2389349589",
"address":{
"full_address":"United Kingdom",
"country":"DE",
"region":"London",
"city":"London",
"street":"Oxford",
"post_code":"W1f435"
}
},
"test_mode":true,
"fields":{
"account_number":"DE89370400440532013000",
"beneficiary_first_name":"John",
"beneficiary_last_name":"Doe",
"beneficiary_country":"DE",
"beneficiary_city":"Kyev",
"beneficiary_address":"Schillerstrasse 78",
"beneficiary_bank_name":"Bank name",
"beneficiary_postcode":"2345345345"
},
"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:
- NAME → customer [name]
- CITY → customer [address] [city]
- COUNTRY → customer [address] [country]
- FULL_ADDRESS → customer [address] [full_address]
- POST_CODE → customer [address] [post_code]
- DATE_OF_BIRTH → customer [date_of_birth]
Question
"Still looking for help connecting your Inpay account?" Please contact our support team!