Kobble
  1. Transactions
Kobble
  • Introduction
  • Authorization
    • Authorization
    • Get access token
      POST
  • Beneficiaries
    • List all beneficiaries
      GET
    • Get beneficiary by ID
      GET
    • Create beneficiary
      POST
    • Update beneficiary
      PUT
  • Cards
    • Cards API
    • Get all cards
      GET
    • Create a new card
      POST
    • Get card by ID
      GET
    • Update card status
      PATCH
    • Replace or renew card
      POST
    • Generate card secret
      POST
  • Card Programs
    • Card Programs API
    • Get all programs
      GET
    • Create a new program
      POST
    • Get program by ID
      GET
  • Clients
    • Clients API
    • Get all clients
      GET
    • Get client by ID
      GET
    • Create a new client
      POST
    • Update client status
      PATCH
  • Endusers
    • Endusers API
    • Get all endusers
    • Create a new enduser
    • Get enduser by ID
  • Transactions
    • Transactions API
    • Get all transactions
      GET
    • Create a transaction
      POST
    • Get transaction by ID
      GET
    • Create manual credit transaction
      POST
    • Create manual debit transaction
      POST
  • Wallets
    • Wallets API
    • Get all wallets
    • Create a new wallet
    • Get wallet by ID
    • Update wallet
  • Relays
    • Relays API
    • Create subscription
  • Webhooks
    • Webhooks API
    • Get all webhooks
    • Create a webhook
    • Delete a webhook
  1. Transactions

Create manual debit transaction

POST
/customers/v1/transactions/manual-debit
Transactions
Manually create a debit transaction with the specified details.

Request

Header Params
Idempotency-Key
string 
required
Example:
{{idempotency-key}}
Content-Type
string 
required
Example:
application/json
Authorization
string 
required
Example:
Bearer {{access_token}}
Body Params application/json
amount
integer 
required
reference
string 
required
metadata
object 
required
from
string 
required
external_id
string 
optional
Example
{
    "amount": 1,
    "reference": "",
    "metadata": {},
    "from": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}

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 '/customers/v1/transactions/manual-debit' \
--header 'Idempotency-Key: {{idempotency-key}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": 1,
    "reference": "",
    "metadata": {},
    "from": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}'

Responses

🟢201Created
application/json
Body
A record representing a financial transaction.
id
string <uuid>
required
The unique identifier of the transaction.
amount
number <float>
required
The amount of the transaction.
asset
enum<string> 
required
The asset type of the transaction, such as AUD.
Allowed value:
AUD
asset_class
enum<string> 
required
The class of asset, typically currency.
Allowed value:
CURRENCY
created_at
string <date-time>
required
The timestamp when the transaction was created.
external_id
string  | null 
required
An external identifier associated with the transaction.
from
string <uuid> | null 
required
The originator of the transaction, typically a wallet ID.
payment_type
enum<string> 
required
The type of payment used in the transaction.
Allowed values:
CARDINTER_WALLETMANUAL_CREDIT
reference
string 
required
A reference code or description for the transaction.
status
enum<string> 
required
The status of the transaction.
Allowed values:
ACCEPTEDDECLINEDPENDING
to
string <uuid> | null 
required
The recipient of the transaction, typically a wallet ID.
type
enum<string> 
required
The type of transaction being performed.
Allowed values:
INTER_WALLETREFUNDRESERVATIONREVERSALSETTLEMENTMANUAL_CREDITCARD_SPEND
updated_at
string <date-time>
required
The timestamp when the transaction was last updated.
metadata
object 
required
Additional data associated with the transaction.
info
object  | null 
required
Optional information about the transaction.
Example
{
    "id": "7cf8a88a-50d5-4410-b5bf-18ad6f2eefe3",
    "amount": 1,
    "asset": "AUD",
    "asset_class": "CURRENCY",
    "created_at": "2025-01-14T16:45:26.030Z",
    "external_id": "111",
    "from": "57bba250-8e7d-442a-9640-8a67e689e597",
    "payment_type": "MANUAL_DEBIT",
    "reference": "elit eiusmod deserunt cillum sed",
    "status": "ACCEPTED",
    "type": "MANUAL_DEBIT",
    "updated_at": "2025-01-14T16:45:26.032Z",
    "metadata": {},
    "info": {}
}
Previous
Create manual credit transaction
Next
Wallets API
Built with