Hi,
I am following https://github.com/killbill/killbill-stripe-plugin
I am able to create a manage account in stripe using POST /plugins/killbill-stripe/accounts:.
However, when I am trying to charge using destination property, all money is going into default account and not into the managed account of stripe .
Steps taken -
-
Created account in killbill using Kaui
-
Created manage account in stripe
curl -v -X POST
-d '{
"legal_entity": {
"address": {
"city": "San Francisco",
"country": "US"
},
"dob": {
"day": 31,
"month": 12,
"year": 1969
},
"first_name": "Jane",
"last_name": "Doe"",
"type": "individual"
}'
http://127.0.0.1:8080/plugins/killbill-stripe/accounts?kb_account_id=<KB_ACCOUNT_ID>&kb_tenant_id=<KB_TENANT_ID>
-
made a purchase request - /1.0/kb/accounts/payments?externalKey=1
{
"paymentExternalKey": "{{$guid}}",
"transactionType": "PURCHASE",
"amount": 100,
"currency": "GBP",
"properties": [
{
"key": "destination",
"value": "a88cd135-d950-4c8c-903f-2e59bb88be76"
},
{
"key": "fees_percent",
"value" : "10"
}
]
}
But all money is goin into default account .
Please suggest , what could be wrong .
Regards,
Shikha
Hi,
I am following https://github.com/killbill/killbill-stripe-plugin
I am able to create a manage account in stripe using POST /plugins/killbill-stripe/accounts:.
However, when I am trying to charge using destination property, all money is going into default account and not into the managed account of stripe .
Steps taken -
Created account in killbill using Kaui
Created manage account in stripe
curl -v -X POST
-d '{
"legal_entity": {
"address": {
"city": "San Francisco",
"country": "US"
},
"dob": {
"day": 31,
"month": 12,
"year": 1969
},
"first_name": "Jane",
"last_name": "Doe"",
"type": "individual"
}'
http://127.0.0.1:8080/plugins/killbill-stripe/accounts?kb_account_id=<KB_ACCOUNT_ID>&kb_tenant_id=<KB_TENANT_ID>
made a purchase request - /1.0/kb/accounts/payments?externalKey=1
{
"paymentExternalKey": "{{$guid}}",
"transactionType": "PURCHASE",
"amount": 100,
"currency": "GBP",
"properties": [
{
"key": "destination",
"value": "a88cd135-d950-4c8c-903f-2e59bb88be76"
},
{
"key": "fees_percent",
"value" : "10"
}
]
}
But all money is goin into default account .
Please suggest , what could be wrong .
Regards,
Shikha