- Introduction
- Getting Started
- Development Tools
- API Documentation
- Information
- Merchants
- Onboarding
- Receiver Accounts
- Transactions
- Payout (Crypto-to-Fiat)
- End to End (Fiat-to-Fiat)
- Collections (Fiat-to-Fiat)
- Utilities
Create Payout Transaction
Live Partners API
Live Partners API
POST
https://partners-api.service.cedar.money/bpapi/v1/sendc2f/
Request
Header Params
x-api-key
string
required
Example:
CEDAR_DEV_api_key_b0ab5b29-caa7-4fa6-9f94-51dbc145e9ed
x-api-secret
string
required
Example:
CEDAR_DEV_api_secret_YtGc1iMIdVaSlE3yeBxS3Y6RY3j933s3YdTloLZjY9ar7T5vuVTGPovoRplo7PSZbYg2RLV9yJ3ZT7BctcxxPSR5pQpEMndj3EJB
Body Params application/json
fromBusinessId
integer
required
toBusinessExternalAccountId
integer
required
fromCurrencySymbol
string
required
toAmount
string
required
purpose
enum<string>
required
Allowed values:
GOODS_PURCHASEDPAYMENT_OF_GOODSPAYMENT_OF_SERVICESOTHER_SERVICES
invoiceUrl
string
required
depositConfirmationUrl
string
required
Example
{
"fromBusinessId": 1,
"toBusinessExternalAccountId": 2,
"fromCurrencySymbol": "USDC (ERC-20)",
"toAmount": "100000.0",
"purpose": "GOODS_PURCHASED",
"invoiceUrl": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
"depositConfirmationUrl": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://partners-api.service.cedar.money/bpapi/v1/sendc2f/' \
--header 'x-api-key: CEDAR_DEV_api_key_b0ab5b29-caa7-4fa6-9f94-51dbc145e9ed' \
--header 'x-api-secret: CEDAR_DEV_api_secret_YtGc1iMIdVaSlE3yeBxS3Y6RY3j933s3YdTloLZjY9ar7T5vuVTGPovoRplo7PSZbYg2RLV9yJ3ZT7BctcxxPSR5pQpEMndj3EJB' \
--header 'Content-Type: application/json' \
--data-raw '{
"fromBusinessId": 1,
"toBusinessExternalAccountId": 2,
"fromCurrencySymbol": "USDC (ERC-20)",
"toAmount": "100000.0",
"purpose": "GOODS_PURCHASED",
"invoiceUrl": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
"depositConfirmationUrl": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
}'
Responses
🟢200OK
application/json
Body
businessRequestId
integer
required
creationTime
integer
required
lastUpdateTime
integer
required
toAmount
string
required
fromAmount
string | null
optional
purpose
enum<string>
required
Allowed values:
GOODS_PURCHASEDPAYMENT_OF_GOODSPAYMENT_OF_SERVICESOTHER_SERVICES
quoteApprovedDate
number | null
optional
depositApprovedDate
number | null
optional
depositReceivedDate
number | null
optional
depositReceivedAmount
string | null
optional
payout
string | null
optional
fromCurrencySymbol
string
required
toCurrencySymbol
string
required
fromBusinessId
integer
required
toBusinessExternalAccountId
integer
required
toBusinessId
integer
required
clientStatus
enum<string>
required
Allowed values:
NONEOnOff_PENDINGOnOff_AWAITING_QUOTE_APPROVALOnOff_AWAITING_DEPOSITOnOff_IN_PROGRESSOnOff_COMPLETEDOnOff_CANCELEDOnOff_EXPIRED
walletDetails
optional
Any of
walletAddress
string
required
Example
{
"businessRequestId": 1,
"creationTime": 1741020401272,
"lastUpdateTime": 1741020401272,
"toAmount": "100000.0",
"fromAmount": null,
"purpose": "GOODS_PURCHASED",
"quoteApprovedDate": null,
"depositApprovedDate": null,
"depositReceivedDate": null,
"depositReceivedAmount": null,
"payout": null,
"fromCurrencySymbol": "USDC (ERC-20)",
"toCurrencySymbol": "USD",
"fromBusinessId": 1,
"toBusinessExternalAccountId": 2,
"toBusinessId": 2,
"clientStatus": "OnOff_PENDING",
"walletDetails": null
}
🟠400Error
Modified at 2025-03-06 09:24:24