Triple000¶
Website: triple000.com
Set up Account¶
Step 1: Create merchant account¶
To create an account send connection request at the triple000.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:
- id
- key
- operator_id
Connect H2H Merchant Account¶
Step 1. Connect H2H account at the Corefy Dashboard¶
Press Connect at Triple000 Provider Overview page in 'New connection' section and choose H2H Merchant account option to open Connection form.
Enter credentials:
- id → API ID
- key → API Key
- operator_id → Merchant ID
- currency → choose currency (You can set these parameters according to available currencies and features for your Triple000 wallets and services, but it's necessary to check details of the connection with your Corefy account manager.)
Success
You have connected Triple000 H2H merchant account!
API examples:¶
Maximum data set to create a transaction¶
POST /api/commerce/payment-invoices HTTP/1.0
{
"data": {
"type": "payment-invoice",
"attributes": {
"service": "payment_card_eur_hpp",
"commerce_account": "Hello Wotld",
"currency": "EUR",
"amount": 10,
"flow": "charge",
"customer": {
"reference_id": "a14097c0-8e19-4deb-9095-18d51ba625b3",
"name": "John Wick",
"email": "[email protected]",
"date_of_birth": "1990-01-10",
"address": {
"full_address": "st.United Kingdom",
"country": "AO",
"region": "Angola",
"city": "London",
"post_code": "W1J"
}
},
"test_mode": false,
"options": {
"allow_partially": false
},
"reference_id": "d3511d00-7f8b-418f-a6bb-52cd6f1332b7",
"service_fields": []
}
}
}
Minimum data set to create a transaction¶
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": 15,
"flow": "charge",
"gateway_options": {
"test_mode": false,
"options": {
"allow_partially": false
},
"reference_id": "59c1f372-a345-4060-87f5-dcddcade3730",
"service_fields": []
}
}
}
Additional information¶
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:
- SITE_URL → Merchant profile URL
- ADDRESS → customer [address] [fullAddress]
- STATE → customer [address] [region]
- COUNTRY_CODE → customer [address] [country]
- CITY → customer [address] [city]
- POST_CODE → customer [address] [postCode]
- EMAIL → customer [email]
- FIRST_NAME→ customer [name]
- LAST_NAME → customer [name]
- DATE_OF_BIRTH → customer [date_of_bith]
Default values¶
If some parameters are not passed in the request to create a transaction and the corresponding constants have no values, then default values will be passed instead.
Here is the list of default values with their corresponding parameters:
- site URL → 'google.com'
- customer [address] [fullAddress] → 'London, Some street, 21'
- customer [address] [region] → 'Some state'
- customer [address] [country] → 'GB'
- customer [address] [city] → 'London'
- customer [address] [postCode] → 'PC123'
- customer [email] → 'johndoe@gmail.com'
- customer [name] → 'John'
- customer [name] → 'Doe'
- customer [date_of_bith] → '1999-01-02'
Still looking for help connecting your Triple000 account?