AgoraPay Marketplace Settings Copy section link Copied!
This section summarises all the marketplace settings you need to setup before starting your implementation:
- AgoraPay API Endpoint
- AgoraPay API Credentials
- Webhook
- Marketplace Accounts
- Vendors' Accounts
- Marketplace Payment Methods
Please note that the values shown below are only examples; you will receive your settings directly from your AgoraPay implementation manager after your onboarding.
Test and production environments are discriminated by their root domain:
- Test: api.test.agorapay.com
- Production: api.live.agorapay.com
AgoraPay Endpoint Copy section link Copied!
Environment
Setting
Value example
Description
Test
API_URL
"https://api.test.agorapay.com/mkp/v1"
AgoraPay platform REST test end-point API
Live
API_URL
"https://api.live.agorapay.com/mkp/v1"
AgoraPay platform REST live end-point API
Test
TOKEN_URL
“https://api.test.agorapay.com/token?grant_type=client_credentials&scope=openid"
AgoraPay authentification test endpoint
Live
TOKEN_URL
“https://api.live.agorapay.com/token?grant_type=client_credentials&scope=openid"
AgoraPay authentification live endpoint
API Credentials Copy section link Copied!
Setting
Value example
Description
TOKEN_USER
"mVJLK8OmZogJFtnXmff9SCIJ44wa"
API token user provided to you by AgoraPay
TOKEN_PASSWORD
"qneTfPDdwKfe3iED9kMKelqvn2ca"
API token password provided to you by AgoraPay
Webhook Copy section link Copied!
Setting
Value example
Description
HOOK_URL
"https://myserver.com/webhook/"
URL when you deployed your webhook server
HOOK_KEY_ID
"481733e4-99c0-4d7b-1a4b-57215287cd1e"
Key Id for your webhook URL provided to you by AgoraPay
HOOK_HMAC_KEY
"D0A753F383DF2856B810AA93F86F1FDFD1B358E7EA2F65258403A7A80E44FCE"
HMAC key for your webhook URL provided to you by AgoraPay
Marketplace Accounts Copy section link Copied!
Setting
Value example
Description
MAIN_ACCOUNT
"1337300000EUR1507611"
Marketplace main account provided to you by AgoraPay
MAIN_PAYMENT_METHOD_ALIAS
"PM202106190001S2120"
Marketplace payment method alias provided to you by AgoraPay
COMMISSION_ACCOUNT
"1337300000EUR56507611"
Marketplace commission account provided to you by AgoraPay
COMMISSION_PAYMENT_METHOD_ALIAS
"PM202106190001P2120"
Marketplace commission payment method alias provided to you by AgoraPay
VOUCHER_ACCOUNT
"1737800000EUR13507611"
Marketplace voucher account provided to you by AgoraPay
LIABLE_ACCOUNT
"1737800000EUR14507611"
Marketplace liable account provided to you by AgoraPay
Vendors' Accounts Copy section link Copied!
Setting
Value example
Description
SELLER_ACCOUNT_1
"1337300000EUR1517610"
Seller account #1 provided to you by AgoraPay
SELLER_ACCOUNT_2
"1337300000EUR1517611"
Seller account #2 provided to you by AgoraPay
SELLER_ACCOUNT_N
"1337300000EUR1517699"
Seller account #N provided to you by AgoraPay
SELLER_1_PAYMENT_METHOD_ALIAS
"PM202106190001T1120"
Seller #1 payment method alias provided to you by AgoraPay
SELLER_2_PAYMENT_METHOD_ALIAS
"PM202106190001R1120"
Seller #2 payment method alias provided to you by AgoraPay
SELLER_N_PAYMENT_METHOD_ALIAS
"PM202106190001Z1120"
Seller #N payment method alias provided to you by AgoraPay
Marketplace Payment Methods Copy section link Copied!
Setting
Value example
Description
SCT_METHOD_ID
"16"
Marketplace method ID of SCT payments provided to you by AgoraPay
SDD_B2C_METHOD_ID
"17"
Marketplace method ID of B2C SDD payments provided to you by AgoraPay
SDD_B2B_METHOD_ID
"18"
Marketplace method ID of B2B SDD payments provided to you by AgoraPay
CREDIT_CARD_METHOD_ID
"19"
Marketplace method ID of credit card payments provided to you by AgoraPay
SWIFT_METHOD_ID
"20"
Marketplace method ID of SWIFT payments provided to you by AgoraPay
PISP_METHOD_ID
"21"
Marketplace method ID of PISP payments provided to you by AgoraPay