DeStream¶
Receiving payments for content creators
Website: destream.net
Set up Account¶
Step 1: Create merchant account¶
To create an account send connection request at the destream.net 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:
- client_id
- client_secret
- user_id
Connect H2H Merchant Account¶
Step 1. Connect H2H account at the Corefy Dashboard¶
Press Connect at DeStream Provider Overview page in 'New connection' section and choose H2H Merchant account option to open Connection form.
Enter credentials:
- client_id → Client ID
- client_secret → Client Secret
- user_id → User ID
- destream_currency → choose currency (You can set these parameters according to available currencies and features for your DeStream wallets and services, but it's necessary to check details of the connection with your Corefy account manager.)
Success
You have connected DeStream H2H merchant account!
API examples:¶
Maximum data set to create a transaction¶
POST /api/commerce/payment-invoices HTTP/1.1
{
"data": {
"type": "payment-invoice",
"attributes": {
"service": "payment_card_usd_hpp",
"commerce_account": "LOREM IPSUM",
"currency": "USD",
"amount": 10,
"flow": "charge",
"customer": {
"reference_id": "hhe4748f388484",
"email": "[email protected]"
},
"test_mode": false,
"options": {
"allow_partially": false
},
"reference_id": "00c35215-cb27-444f-9c58-0f9d5fc7172f"
}
}
}
Minimum data set to create a transaction¶
POST /api/commerce/payment-invoices HTTP/1.1
{
"data": {
"type": "payment-invoice",
"attributes": {
"service": "payment_card_usd_hpp",
"commerce_account": "LOREM IPSUM",
"currency": "USD",
"amount": 10,
"flow": "charge",
"test_mode": false,
"options": {
"allow_partially": false
},
"reference_id": "00c35215-cb27-444f-9c58-0f9d5fc7172f"
}
}
}
Still looking for help connecting your DeStream account?