1. Transaction Documents
Kobble
  • Introduction
  • API Fundamentals
    • Idempotency
    • Rate Limits
    • Healthcheck
      GET
  • Authorization
    • Authorization
    • Get access token
      POST
  • Beneficiaries
    • List all beneficiaries
      GET
    • Get beneficiary by ID
      GET
    • Create beneficiary
      POST
    • Create Payid beneficiary
      POST
    • Update beneficiary
      PATCH
  • Cards
    • Cards API
    • Card Creation Flow — Developer Guide & Onboarding
    • 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
    • Generate MeaWallet widget session token
      POST
  • Card Programs
    • Card Programs API
    • Get all programs
    • Create a new program
    • Get program by ID
  • Clients
    • Clients API
    • Get all clients
    • Get client by ID
    • Create a new client
    • Update client status
  • Endusers
    • Endusers API
    • Usage of Metadata on Endusers
    • Get all endusers
    • Create a new enduser
    • Get enduser by ID
    • Update enduser
    • Create a stakeholder
    • List stakeholders
    • Update stakeholder
  • Transactions
    • Transactions API
    • Get all transactions
    • Create a transaction
    • Get transaction by ID
    • Create manual credit transaction
    • Create manual debit transaction
    • Download the partner's confirmation letter for a `_4` transaction
  • Wallets
    • Wallets API
    • Get all wallets
    • Create a new wallet
    • Get wallet by ID
    • Update wallet
    • Download the partner's confirmation letter for a `_4` wallet
  • Relays
    • Relays API
    • Create subscription
  • Webhooks
    • Webhooks API
    • Webhook Signature Verification
    • Get all webhooks
    • Create a webhook
    • Delete a webhook
    • Report completed
  • Wallet Statements
    • Request a wallet statement
    • List wallet statements
    • Get a wallet statement
    • Get a wallet statement download URL
  • Card Art
    • Get a card art upload URL
    • Register a card art
    • List card arts
    • Get a card art
    • Update a card art
    • Activate a card art
    • Archive a card art
  • Verifications
    • List verifications for a subject
    • Create a verification
    • Get verification by ID
    • Get a verification session (SDK token or hosted link)
    • Record a client-asserted outcome
    • Email a KYB party its hosted verification link
    • Set a KYB party's USD details
    • Project the company's declared owners into KYB parties
  • Transaction Documents
    • Request a presigned upload for a supporting document
      POST
    • List the supporting documents on a transaction
      GET
    • Upload a supporting document before the payout
      POST
    • Get a supporting document
      GET
    • Download a supporting document
      GET
  • Mandates
    • List mandates
    • Create mandate
    • Get mandate by ID
    • Update mandate
  • FX Quotes
    • Request an FX quote
    • Get an FX quote by ID
  • Schemas
    • Schemas
    • CardWidgetSessionTokenResponse
    • 202 Accepted
    • Webhook
    • 201 Created
    • Relay
    • Create Beneficiary with bank details
    • Client
    • Beneficiary
    • Card
    • CardCreateInputDto
    • CardStatusUpdateDto
    • CardRenewReplaceInputDto
    • Program
    • MetadataKobbleDebit1
    • ProgramCreateInputDto
    • Person
    • Company
    • Enduser
    • Enduser Create Person Input
    • Enduser Create Company Input
    • Metadata
    • Enduser Create Input DTO
    • Transaction
    • TransactionCreateManualCreditInputDto
    • TransactionDocumentType
    • TransactionDocumentStatus
    • TransactionDocumentCreateInput
    • WalletUpdateInputDto
    • TransactionDocumentUpload
    • WalletStatement
    • TransactionDocument
    • TransactionDocumentDownload
    • TransactionCreateInputDto
    • ReportCompletedEntity
    • Mandate
    • Wallet
    • ReportCompletedNotification
    • CardArt
    • WalletCreateInputDto
    • CardArtDetail
    • CardArtUploadUrlInput
    • WebhookNotification
    • CardArtUploadUrlResponse
    • CardArtCreateInput
    • CardArtPatchInput
    • Error
    • RelayCreateResponse
    • ScreeningSummary
    • VerificationPartyLink
    • Verification
    • VerificationSessionToken
    • Address
    • Stakeholder
    • StakeholderCreateInput
    • StakeholderUpdateInput
    • VerificationPartyInviteResult
    • FxQuoteCreateInputDto
    • FxQuote
  1. Transaction Documents

Upload a supporting document before the payout

POST
/customers/v1/transactions/documents
Reserve a supporting document (invoice, contract, agreement, remittance advice or other evidence) that is not yet attached to a transaction, and receive a presigned upload for it. Name it in document_ids on POST /customers/v1/transactions to attach it to the payout when the payout is created.
Why upload first. When enabled for your program, outgoing USD payouts (USD_LOCAL_4) need a supporting document. Such a payout is accepted and stays PENDING, with its funds reserved, until it has at least one AVAILABLE document; it then continues through normal processing, where it can still be held or declined by screening. A document becomes AVAILABLE once its file is uploaded and verified: on the next GET of the document or of the transaction's documents, or within about 5 minutes by Kobble's own check. To avoid the wait, upload the document first, wait until it is AVAILABLE, then create the payout and name it in document_ids. Naming a document that is still PENDING does not avoid the hold.
Upload flow. The same as POST /customers/v1/transactions/{id}/documents: (1) compute the file's SHA-256 and base64-encode it; (2) POST filename, content_type, file_size (exact byte length), checksum and document_type, and receive 201 with status PENDING, upload_url, upload_expires_at and required_headers; (3) HTTP PUT the raw file bytes to upload_url before upload_expires_at with exactly the three required_headers; (4) GET /customers/v1/transactions/documents/{documentId} until status is AVAILABLE.
Files are application/pdf, image/png or image/jpeg, at most 9 MiB (9,437,184 bytes) each, or as configured for your program. A payout can carry up to 20 documents.
Not idempotent. This endpoint does not honour Idempotency-Key; every POST reserves a new document. A document that is never named in document_ids stays unattached; it is not charged for and does nothing.

Request

Header Params

Body Params application/json

Example
{
    "filename": "invoice-4471.pdf",
    "content_type": "application/pdf",
    "file_size": 184322,
    "checksum": "n4bQgYhMfWWaL+qgxVrQFaO/TxsrC4Is0V1sFbDwCgg=",
    "document_type": "INVOICE"
}

Request Code 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 '/customers/v1/transactions/documents' \
--header 'x-client-id;' \
--header 'Content-Type: application/json' \
--data '{
    "filename": "invoice-4471.pdf",
    "content_type": "application/pdf",
    "file_size": 184322,
    "checksum": "n4bQgYhMfWWaL+qgxVrQFaO/TxsrC4Is0V1sFbDwCgg=",
    "document_type": "INVOICE"
}'

Responses

🟢201Created
application/json
Upload reserved, with transaction_id unset. PUT the file to upload_url with exactly required_headers before upload_expires_at.
Bodyapplication/json

Example
{
    "id": "5c1f0a3e-8d2b-4f6a-9e07-2b3c4d5e6f70",
    "status": "PENDING",
    "upload_url": "https://example-bucket.s3.ap-southeast-2.amazonaws.com/.../invoice-4471.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=900&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost%3Bx-amz-checksum-sha256&X-Amz-Signature=...",
    "upload_expires_at": "2026-09-18T01:15:00.000Z",
    "required_headers": {
        "Content-Type": "application/pdf",
        "Content-Length": "184322",
        "x-amz-checksum-sha256": "n4bQgYhMfWWaL+qgxVrQFaO/TxsrC4Is0V1sFbDwCgg="
    }
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
Modified at 2026-11-25 05:33:15
Previous
List the supporting documents on a transaction
Next
Get a supporting document
Built with