Develop and ship quickly with the power of APIs
Extensive set of primitives to handle everything related to international business payments.
curl -L -X GET 'https://api.xflowpay.com/v1/deposits/deposit_f0A_1666079759165_P3FtR_000' \
-H 'Authorization: Bearer sk_your_key'
{
"amount": "20.00",
"created": 1666079759,
"currency": "USD",
"from": {
"account_id": "account_F0A_1666079163481_A7fje_000",
"address_id": "address_f0A_1666079747608_NDR0g_000"
},
"id": "deposit_f0A_1666079759165_P3FtR_000",
"livemode": true,
"metadata": null,
"object": "deposit",
"payment_method": "domestic_debit",
"payment_method_details": null,
"reason_code": null,
"statement_descriptor":
"Online Payment for Invoice FY 2022-23-038",
"status": "completed",
"to": {
"account_id": "account_F0A_1666079163481_A7fje_000",
"address_id": "address_f0A_1666079171474_6jxOu_000"
}
}
Powerful and Easy-to-Use APIs
Extensive set of primitives to handle everything related to B2B cross border payments.
Manage your international invoices with Xflow's intuitive dashboard
Manage customers
Collect Payments
Reconcile Invoices
Track Payouts
Automate Workflows
Add your customers on Xflow and start collecting instantly. If you are a Platform, you can add, onboard, and configure the experience for your users.
curl -L -X POST 'https://api.xflowpay.com/v1/accounts' \
-H 'Authorization: Bearer sk_your_key' \
-H 'Content-Type: application/json' \
-d '{
"business_details": {
"email": "contact@shoedog.com",
"legal_name": "Shoe Dog Inc.",
"physical_address": {
"city": "San Francisco",
"country": "US",
"line1": "185 Berry St",
"postal_code": "94107",
"state": "CA"
},
"type": "company"
},
"nickname": "Shoe Power",
"type": "partner"
}'
Manage your international invoices with Xflow's intuitive dashboard
Manage Customers
Programmatically add all your customers on Xflow and start collection instantly. If you are a Platform, you can add, onboard and configure the experience for your connected users, and monetise the funds flow on your platform.
curl -L -X POST 'https://api.xflowpay.com/v1/accounts' \
-H 'Authorization: Bearer sk_your_key' \
-H 'Content-Type: application/json' \
-d '{
"business_details": {
"email": "contact@shoedog.com",
"legal_name": "Shoe Dog Inc.",
"physical_address": {
"city": "San Francisco",
"country": "US",
"line1": "185 Berry St",
"postal_code": "94107",
"state": "CA"
},
"type": "company"
},
"nickname": "Shoe Power",
"type": "partner"
}'
Collect Payments
Programmatically add all your customers on Xflow and start collection instantly. If you are a Platform, you can add, onboard and configure the experience for your connected users, and monetise the funds flow on your platform.
curl -L -X POST 'https://api.xflowpay.com/v1/payment_links' \
-H 'Authorization: Bearer sk_your_key' \
-H 'Content-Type: application/json' \
-d '{
"account_id": "account_F0A_1666079163481_A7fje_000",
"receivable_ids": [
"receivable_f0A_1666079293438_eDQAH_000"
],
"type": "receivable"
}'
Reconcile Invoices
Programmatically add all your customers on Xflow and start collection instantly. If you are a Platform, you can add, onboard and configure the experience for your connected users, and monetise the funds flow on your platform.
curl -L -X POST 'https://api.xflowpay.com/v1/receivables' \
-H 'Authorization: Bearer sk_your_key' \
-H 'Content-Type: application/json' \
-d '{
"account_id": "account_F0A_1666079163481_A7fje_000",
"amount_maximum_reconcilable": "50.00",
"currency": "USD",
"invoice": {
"amount": "50.00",
"creation_date": "2022-10-18",
"currency": "USD",
"document": "file_F0A_1666079283600_ffoLd_000",
"due_date": "2022-11-07",
"reference_number": "Invoice FY 2022-23-038"
},
"purpose_code": "P1006",
"transaction_type": "services"
}'
Track Payouts
Programmatically add all your customers on Xflow and start collection instantly. If you are a Platform, you can add, onboard and configure the experience for your connected users, and monetise the funds flow on your platform.
Request
curl -L -X GET 'https://api.xflowpay.com/v1/payouts/payout_12445464' \
-H 'Authorization: Bearer sk_your_key'
Response
{
"amount": "1600.57",
"arrival_date": null,
"automatic": true,
"created": 1666160776,
"currency": "INR",
"id": "payout_f0A_1666160776922_Q1hjW_000",
"livemode": true,
"metadata": null,
"object": "payout",
"payment_method": "domestic_credit",
"payment_method_details": null,
"payout_confirmation": null,
"statement_descriptor": "XFLOW PAYOUT F0A-1666160776922-J2uic-000",
"status": "processing",
"to": {
"account_id": "account_F0A_1666077553446_41Hgq_000",
"address_id": "address_f0A_1666160723235_fJSRH_000"
}
}
Automate Payouts
Programmatically add all your customers on Xflow and start collection instantly. If you are a Platform, you can add, onboard and configure the experience for your connected users, and monetise the funds flow on your platform.
curl -L -X POST 'https://api.xflowpay.com/v1/webhook_endpoints' \
-H 'Authorization: Bearer sk_your_key' \
-H 'Content-Type: application/json' \
-d $'{
"description": "This is my webhook endpoint",
"enabled_events": [
"deposit.completed",
"deposit.failed"
],
"platform": true,
"url": "https://example.com/my/webhook/endpoint"
}'
Manage Customers
Programmatically add all your customers on Xflow and start collection instantly. If you are a Platform, you can add, onboard and configure the experience for your connected users, and monetise the funds flow on your platform.
curl -L -X POST 'https://api.xflowpay.com/v1/accounts' \
-H 'Authorization: Bearer sk_your_key' \
-H 'Content-Type: application/json' \
-d '{
"business_details": {
"email": "contact@shoedog.com",
"legal_name": "Shoe Dog Inc.",
"physical_address": {
"city": "San Francisco",
"country": "US",
"line1": "185 Berry St",
"postal_code": "94107",
"state": "CA"
},
"type": "company"
},
"nickname": "Shoe Power",
"type": "partner"
}'
Trusted by
Explore Resources
Convinced?
Lets get started!
Use Xflow invoices to automatically add a Pay button to your invoices which provides all the benefits of Payment Links and more!