Cards
Withdraw from Card
- Community
- Blog
- POSTAuthentication
- GETGet Business
- GETGet All Cards
- GETGet Card
- POSTCreate Card
- POSTFund Card
- POSTWithdraw from Card
- POSTFreeze Card
- POSTTerminate Card
- GETGet Card Transactions
- GETGet Card Transaction
- GETGet All Customers
- GETGet Customer
- POSTCreate Customer
- POSTUpdate Customer
- POSTCustomer KYC
- POSTBlacklist Customer
- GETGet All Collections
- GETGet Collection
- POSTCreate Collection
- GETGet Collection Transactions
- POSTSimulate credit transaction
- POSTSimulate credit transaction
Authentication
Business
Cards
Customers
Collections
Checkout
Cards
Withdraw from Card
Freeze card
POST
/
cards
/
{id}
/
withdraw
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
id
string
*
id
Required
string
object
amount
integer
amount
integer
curl -X POST https://api.swervpay.co/api/v1/cards/{id}/withdraw \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"amount": 1000
}'
{
"message": "<string>",
"transaction": {
"account_name": "<string>",
"account_number": "<string>",
"amount": 123,
"bank_code": "<string>",
"bank_name": "<string>",
"category": "<string>",
"charges": 123,
"created_at": "2023-11-07T05:31:56Z",
"detail": "<string>",
"fiat_rate": 123,
"id": "<string>",
"reference": "<string>",
"report": true,
"report_message": "<string>",
"session_id": "<string>",
"status": "<string>",
"type": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
}
curl -X POST https://api.swervpay.co/api/v1/cards/{id}/withdraw \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"amount": 1000
}'
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
id
string
requiredBody
application/json
amount
integer
Response
200 - application/json
message
string
transaction
object
transaction.account_name
string
transaction.account_number
string
transaction.amount
number
transaction.bank_code
string
transaction.bank_name
string
transaction.category
string
transaction.charges
number
transaction.created_at
string
transaction.detail
string
transaction.fiat_rate
number
transaction.id
string
transaction.reference
string
transaction.report
boolean
transaction.report_message
string
transaction.session_id
string
transaction.status
string
transaction.type
string
transaction.updated_at
string
Was this page helpful?
curl -X POST https://api.swervpay.co/api/v1/cards/{id}/withdraw \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"amount": 1000
}'
{
"message": "<string>",
"transaction": {
"account_name": "<string>",
"account_number": "<string>",
"amount": 123,
"bank_code": "<string>",
"bank_name": "<string>",
"category": "<string>",
"charges": 123,
"created_at": "2023-11-07T05:31:56Z",
"detail": "<string>",
"fiat_rate": 123,
"id": "<string>",
"reference": "<string>",
"report": true,
"report_message": "<string>",
"session_id": "<string>",
"status": "<string>",
"type": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}
}