Crederes¶
Crederes is simple and easy
Website: crederes.com
Set up Account H2H merchant account¶
Step 1: Create Merchant Account¶
To create an account send connection request at the crederes.com/#rec202777861 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:
- crederes__token → Token
- crederes__requestor_id → ID requestor
- crederes__api_ucredererl → API url
- crederes__test_mode → Test mode
- crederes__currency → choose currency (You can set these parameters according to available currencies and features for your Crederes wallets and services, but it's necessary to check details of the connection with your Corefy account manager.)
Connect Merchant Account¶
Step 1. Connect H2H account at the Corefy Dashboard¶
Press Connect at Crederes Provider Overview page in 'New connection' section and choose H2H Merchant account option to open Connection form.
Enter credentials:
- Token
- ID requestor
- API url
- Test mode -- true/false
- Currency -- > AZN/CLP/EUR/JPY/USD
Success
You have connected Crederes H2H merchant account!
Step 1: Create Provider account¶
To create an account send connection request at the crederes.com/#rec202777861 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:
- crederes__consumer_key → Consumer key
- crederes__token → Token
- crederes__access_token → Access token
- crederes__private_key → Private key
- crederes__id_requestor → ID requestor
- crederes__test_mode → Test mode
Connect Provider Account¶
Step 1. Connect Provider account at the Corefy Dashboard¶
Press Connect at Crederes Provider Overview page in 'New connection' section and choose Provider account option to open Connection form.
Enter credentials:
- Consumer key
- Token
- Access token
- Private key
- ID requestor
- Test mode → true/false
Success
You have connected Crederes Provider account!
API examples:¶
Minimum data set to create a payment invoices for payment_card_eur_hpp service¶
SALE
POST /api/commerce/payment-invoices HTTP/1.0
{
"data": {
"type": "payment-invoice",
"attributes": {
"service": "payment_card_eur_hpp",
"commerce_account": "hello_world",
"currency": "EUR",
"amount": 1.12,
"reference_id": "50eb03f2-de01-474f-907a-53bbb2a30af3",
"flow": "charge",
"gateway_options": {
"cardgate": {
"tokenize": ""
}
},
"test_mode": false,
"options": {
"allow_partially": false,
"bypass_hpp": false,
"send_operation_context_on_return": false
},
"service_fields": []
}
}
}
Maximum data set to create a payment invoices for payment_card_eur_hpp service¶
SALE
POST /api/commerce/payment-invoices HTTP/1.0
{
"data": {
"type": "payment-invoice",
"attributes": {
"service": "payment_card_eur_hpp",
"commerce_account": "hello_world",
"currency": "EUR",
"amount": 1.12,
"reference_id": "50eb03f2-de01-474f-907a-53bbb2a30af3",
"flow": "charge",
"gateway_options": {
"cardgate": {
"tokenize": ""
}
},
"customer": {
"name": "John Doe",
"email": "[email protected]",
"phone": "+380663759478"
},
"test_mode": false,
"options": {
"allow_partially": false,
"bypass_hpp": false,
"send_operation_context_on_return": false
},
"service_fields": []
}
}
}
Minimum data set to create a payout invoices for payment_card_eur service¶
PAYOUT
POST /api/commerce/payout-invoices HTTP/1.0
{
"data":{
"type":"payout-invoice",
"attributes":{
"service":"payment_card_eur",
"commerce_account":"hello_world",
"currency":"EUR",
"amount":13.33,
"customer":{
"reference_id":"test"
},
"test_mode":true,
"reference_id":"f2e42a5b-1166-416a-bfce-fd649966303e",
"fields":{
"card_number":"411111******1111"
},
"options":{
"attempts_limit":0,
"split_mode":false,
"allow_partially":false,
"auto_process":false
}
}
}
}
Provider Options¶
- Extended 3ds data waiting time
- Extends the waiting time for receiving data for passing 3DS authentication
- Pending refunds on invalid response
- When the option is disabled: when receiving an invalid response from the provider, the system sets the ERROR status with the PROVIDER_ERROR code and reports: “Received response is not correct”.
- When the option is enabled: when receiving the same invalid response, the system sets the PENDING status with the OK code and reports: “The refund has not yet been processed on the provider’s side”.
Question
"Still looking for help connecting your Crederes account?" Please contact our support team!