Home
Release Notes
Home
Release Notes
Linkedin
  1. Transactions
  • Baladâ„¢ Gateway Documentation đŸ“–
  • Get Started
  • Authorization
  • Responses
  • Go Live!
  • FAQs
  • APIs
    • Authentication
      • Token
    • Core
      • Exchange rate
        • Exchange Rates
      • Balance
        • Get Current Balance
      • Secrets
        • Generate Secret
        • Delete Secret
        • Get Secrets
    • Link
      • Sandbox Testing Guide
      • Error Codes
      • Transaction Lifecycle V2
      • Lookups
        • Purposes List
        • Sources List
        • Banks List
        • Relations
      • Transactions
        • Create transaction
          POST
        • Update transaction
          POST
        • Cancel transaction
          POST
        • Get transaction status V2
          GET
        • Transactions List
          GET
        • Export Transactions List
          GET
        • Validate Account
          POST
        • Request Sender Document Upload URL
          POST
        • Check Sender Document
          POST
      • Reconciliation
        • Reconciliation
      • Quotations
        • Create Quotation
    • Bills
      • Services
        • Categories
        • Providers
        • Services
        • Service Configurations
        • available currencies
      • Payments
        • Inquiry
        • Fees
        • Confirm Payment
        • Bill Payment List
  • Webhooks
    • Link.Transaction.StatusUpdateV2
  1. Transactions

Check Sender Document

POST
/remit-api/v1/transactions/documents/check
Use this endpoint to check whether Balad already holds a sender identity document (for example, a passport) for a sender identity number. If it does, you don't need to upload the document again. Send the returned document_id as sender_identifier_document_id in Create transaction.

How it works#

1.
Check: call this endpoint with the sender's sender_identity_no.
2.
If has_document is true: send document_id as sender_identifier_document_id in Create transaction.
3.
If has_document is false: upload the document with Request Sender Document Upload URL, then create the transaction with its document_id.

Notes#

RuleValue
ScopeOnly documents that your account uploaded are checked
Matchingsender_identity_no is matched without leading or trailing spaces and is not case-sensitive
ResultThe latest document stored for that identity number

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/json

Example
{
    "sender_identity_no": "A12345678"
}

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 'https://gateway-sandbox.balad.tech/remit-api/v1/transactions/documents/check' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "sender_identity_no": "A12345678"
}'

Responses

đŸŸ¢200Success
application/json
Bodyapplication/json

Examples
{
    "data": {
        "sender_identity_no": "A12345678",
        "has_document": true,
        "document_id": "8f1c2a4e-3b7d-4c55-9a2e-6f0d1b7c9e21"
    },
    "errors": null
}
đŸŸ 400Validation error
Previous
Request Sender Document Upload URL
Next
Reconciliation
Built with