- 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
Cancel Collections Transaction
Developing
Live Partners API
Live Partners API
POST
https://partners-api.service.cedar.money/bpapi/v1/receivef2f/cancel/{id}
Request
Path Params
id
string
required
Example:
1
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
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/receivef2f/cancel/1' \
--header 'x-api-key: CEDAR_DEV_api_key_b0ab5b29-caa7-4fa6-9f94-51dbc145e9ed' \
--header 'x-api-secret: CEDAR_DEV_api_secret_YtGc1iMIdVaSlE3yeBxS3Y6RY3j933s3YdTloLZjY9ar7T5vuVTGPovoRplo7PSZbYg2RLV9yJ3ZT7BctcxxPSR5pQpEMndj3EJB'
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:
NONEReceive_PENDINGReceive_AWAITING_QUOTE_APPROVALReceive_AWAITING_DEPOSITReceive_IN_PROGRESSReceive_COMPLETEDReceive_CANCELEDReceive_EXPIRED
bankDetails
optional
Any of
accountNumber
string
required
nameOnAccount
string
required
bankName
string
required
bankAddress
string
required
reference
string
required
Example
{
"businessRequestId": 1,
"creationTime": 1741253004225,
"lastUpdateTime": 1741253579459,
"toAmount": "100000.0",
"fromAmount": "160881501.15",
"purpose": "GOODS_PURCHASED",
"quoteApprovedDate": 1741253321781,
"depositApprovedDate": 1741253579459,
"depositReceivedDate": 1741253579459,
"depositReceivedAmount": "160881501.15",
"payout": null,
"fromCurrencySymbol": "NGN",
"toCurrencySymbol": "USD",
"fromBusinessId": 1,
"toBusinessExternalAccountId": 2,
"toBusinessId": 2,
"clientStatus": "Receive_CANCELED",
"bankDetails": {
"bankName": "Test Bank",
"accountNumber": "1234567890",
"reference": "Test Reference",
"bankAddress": "123 Test St",
"nameOnAccount": "Test Name"
}
}
🟠400Error
Modified at 2025-03-20 13:29:06