Macropay¶
Tech and advisory for financial institutions
Website: macropay.net
Set up Account Provider account¶
Step 1: Create Provider account¶
To create an account send connection request at the macropay.net/contact 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:
- API ID
- API guid
Connect Provider Account¶
Step 1. Connect Provider account at the Corefy Dashboard¶
Press Connect at Macropay Provider Overview page in 'New connection' section and choose Provider account option to open Connection form.
Enter credentials:
- API ID → api_id
- API guid → api_guid
Success
You have connected Macropay Provider account!
API examples:¶
Data set to create a payment invoices for sofort_eur_hpp service¶
PAYMENT
{
"data":{
"type":"payment-invoice",
"attributes":{
"service":"sofort_eur_hpp",
"commerce_account":"Hello World",
"currency":"EUR",
"amount":10,
"flow":"charge",
"gateway_options":{
"cardgate":{
"tokenize":""
}
},
"test_mode":true,
"options":{
"allow_partially":false,
"bypass_hpp":false,
"send_operation_context_on_return":false
},
"reference_id":"d3ffe5a6-b3c8-4996-af73-78fa8533c204",
"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:
- country → customer [address] [country]
- first name → customer [first_name]
- last name → customer [last_name]
- email → customer [email]
- phone → customer [phone]
- full address → customer [address] [address]
- post code → customer [address] [postcode]
- city → customer [address] [city]
Provider Options¶
- Finalize on succeeded status
- → if transaction status succeeded and option finalized on succeeded status is true - transaction will be success
- → if transaction status false and option finalized on succeeded status is false - transaction will be in pending status until customer does not check it
Question
"Still looking for help connecting your Macropay account?" Please contact our support team!