Octopays¶
Payment Solutions For Your Business — Instantly And Comprehensively
Website: octopays.io
Set up Provider account¶
Step 1: Create Provider account¶
To create an account send connection request at the octopays.io → Apply for advice 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:
- octopays__login → Login
- octopays__api-key → API key
- octopays__callback_secret_key → Callback sercet key
Connect Provider Account¶
Step 1. Connect Provider account at the Corefy Dashboard¶
Press Connect at Octopays Provider Overview page in 'New connection' section and choose Provider account option to open Connection form.
Enter credentials:
- Login
- API key
- Callback sercet key
- Test mode → true/false
Success
You have connected Octopays Provider account!
API examples:¶
Data set to create a payment invoices for bkash_limited_bdt_hpp service¶
PAYMENT
POST /api/commerce/payment-invoices HTTP/1.0
{
"data":{
"type":"payment-invoice",
"attributes":{
"service":"bkash_limited_bdt_hpp",
"commerce_account":"hello_world",
"currency":"BDT",
"amount":15,
"reference_id":"c35c1416-a283-490a-998f-d6232d6fbb5f",
"flow":"charge",
"gateway_options":{
"cardgate":{
"tokenize":""
}
},
"customer":{
"reference_id":"e1a58a3e-c388-4537-a50f-63798b6967f1"
},
"test_mode":true,
"options":{
"allow_partially":false,
"bypass_hpp":false,
"send_operation_context_on_return":false
},
"service_fields":[
]
}
}
}
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:
- CUSTOMER_IP → constant [customer_ip]
Question
"Still looking for help connecting your Octopays account?" Please contact our support team!