D24¶
ACCEPT LOCAL PAYMENTS ANYWHERE. Are you looking to expand your business reach with local payment support? No matter where you are, our services help you tap into multiple markets globally from one single place. Offer your customers a wide range of payment options to choose from, including those commonly used in specific regions throughout the world.
Website: d24.com
Set up Account Provider account¶
Step 1: Create Provider account¶
To create an account send connection request at the d24.com/get-started 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:
- d24__api_key → Api key
- d24__api_signature → Api signature
- d24__read_only_api_key → Read only api key
- d24__live_url → Live URL
- d24__test_mode → Test Mode
Connect Provider Account¶
Step 1. Connect Provider account at the Corefy Dashboard¶
Press Connect at D24 Provider Overview page in 'New connection' section and choose Provider account option to open Connection form.
Enter credentials:
- Api key
- Api signature
- Read only api key
- Live URL
- Test Mode → true/false
Success
You have connected D24 Provider account!
API examples:¶
Minimum data set to create a payment invoices for boleto_bancario_brl_hpp service¶
PAYMENT
POST /api/commerce/payment-invoices HTTP/1.0
{
"data":{
"type":"payment-invoice",
"attributes":{
"service":"boleto_bancario_brl_hpp",
"commerce_account":"Hello World",
"currency":"BRL",
"amount":500,
"flow":"charge",
"gateway_options":{
"cardgate":{
"tokenize":""
}
},
"customer":{
"reference_id":"66c52eae-bf7a-4000-9d60-084e145ae4a1",
"name":"John Doe",
"email":"[email protected]",
"address":{
"country":"BR"
}
},
"test_mode":true,
"options":{
"allow_partially":false,
"bypass_hpp":false,
"send_operation_context_on_return":false
},
"reference_id":"ceef67a6-93bc-486e-bc99-3a941a0a4c8a",
"service_fields":{
"cpf_number":"55628089940",
"document_type":"CPF"
}
}
}
}
Maximum data set to create a payment invoices for boleto_bancario_brl_hpp service¶
PAYMENT
POST /api/commerce/payment-invoices HTTP/1.0
{
"data":{
"type":"payment-invoice",
"attributes":{
"service":"upi_inr_hpp",
"commerce_account":"Hello World",
"currency":"INR",
"amount":500,
"flow":"charge",
"gateway_options":{
"cardgate":{
"tokenize":""
}
},
"customer":{
"reference_id":"60ab2102-d7f7-439c-b0b3-0a7b466e999b",
"name":"Ricardo Carlos",
"email":"[email protected]",
"phone":"912234567890",
"address":{
"full_address":"Some street 1",
"country":"IN",
"city":"Mumbai"
}
},
"test_mode":true,
"options":{
"allow_partially":false,
"bypass_hpp":false,
"send_operation_context_on_return":false
},
"reference_id":"a9d74bd2-dc5d-4021-9fb4-9b7d80dbf938",
"service_fields":{
"account":"test@paymt",
"document_type":"ID",
"document_id":"1233131313"
}
}
}
}
Question
"Still looking for help connecting your D24 account?" Please contact our support team!