Orchestration API (1.0)

Server

URL
https://api.testdayra.com/v1

Authentication

bearer

Show Client Account Balance

get
/clients/accounts/{account-uuid}/balance

Path Parameters

account-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/accounts/{account-uuid}/balance' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

List Client Accounts

get
/clients/{client-uuid}/accounts

Path Parameters

client-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/{client-uuid}/accounts' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client Account

get
/clients/accounts/{account-uuid}

Path Parameters

account-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/accounts/{account-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Store Client's Account Cash-in

post
/clients/accounts/{account-uuid}/cash-ins

Path Parameters

account-uuid string *

Responses

200 Success

OK

Request
curl --request POST \
  --url 'https://api.testdayra.com/v1/clients/accounts/{account-uuid}/cash-ins' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"amount":2500,"pm_id":"ebd51242-d9a5-11eb-9f5e-fd763d6b33a9","file":{"extension":"pdf","content":"dummy content"}}}'
Response

List Client's Account Cash-ins

get
/clients/accounts/{account-uuid}/cash-ins

Path Parameters

account-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/accounts/{account-uuid}/cash-ins' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Cash-in Status

get
/clients/accounts/cash-ins/{cash-in-uuid}/status

Path Parameters

cash-in-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/accounts/cash-ins/{cash-in-uuid}/status' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client's Account Cash-in

get
/clients/accounts/cash-ins/{cash-in-uuid}

Path Parameters

cash-in-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/accounts/cash-ins/{cash-in-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Store Client's Account Cash-out

post
/clients/accounts/{account-uuid}/cash-outs

Path Parameters

account-uuid string *

Responses

200 Success

OK

Request
curl --request POST \
  --url 'https://api.testdayra.com/v1/clients/accounts/{account-uuid}/cash-outs' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"amount":1500,"pm_id":"ebd51242-d9a5-11eb-9f5e-fd763d6b33a9"}}'
Response

List Client's Account Cash-outs

get
/clients/accounts/{account-uuid}/cash-outs

Path Parameters

account-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/accounts/{account-uuid}/cash-outs' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client's Account Cash-out

get
/clients/accounts/cash-outs/{cash-out-uuid}

Path Parameters

cash-out-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/accounts/cash-outs/{cash-out-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Cash out status

get
/clients/accounts/cash-outs/{cash-out-uuid}/status

Path Parameters

cash-out-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/accounts/cash-outs/{cash-out-uuid}/status' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

List Clients Addresses

get
/clients/{client-uuid}/addresses

Path Parameters

client-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/{client-uuid}/addresses' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Create Clients Address

post
/clients/{client-uuid}/addresses

Path Parameters

client-uuid string *

Responses

200 Success

OK

Request
curl --request POST \
  --url 'https://api.testdayra.com/v1/clients/{client-uuid}/addresses' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"line_1":"line1","line_2":"line2","street":"26 july","area":"Oraby","city":"Dekhela","governorate":"Giza","country":"Egypt","verbose":"157, 26 july, Zamalek","type":"Work"}}'
Response

Show Clients Address

get
/clients/addresses/{client-address-uuid}

Path Parameters

client-address-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/addresses/{client-address-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Edit Clients Address

put
/clients/addresses/{client-address-uuid}

Path Parameters

client-address-uuid string *

Responses

200 Success

OK

Request
curl --request PUT \
  --url 'https://api.testdayra.com/v1/clients/addresses/{client-address-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"area":"El-Qobba Bridge"}}'
Response

Delete Clients Address

delete
/clients/addresses/{client-address-uuid}

Path Parameters

client-address-uuid string *

Responses

200 Success

OK

Request
curl --request DELETE \
  --url 'https://api.testdayra.com/v1/clients/addresses/{client-address-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client Address Status

get
/clients/addresses/{client-address-uuid}/status

Path Parameters

client-address-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/addresses/{client-address-uuid}/status' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

List Client ID Documents

get
/clients/{client-uuid}/id-documents

Path Parameters

client-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/{client-uuid}/id-documents' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client ID Document

get
/clients/id-documents/{id-documents-uuid}

Path Parameters

id-documents-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/id-documents/{id-documents-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Update Client Document

put
/clients/id-documents/{id-documents-uuid}

Path Parameters

document-uuid string *

Responses

200 Success

OK

Request
curl --request PUT \
  --url 'https://api.testdayra.com/v1/clients/id-documents/{id-documents-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"verbose":"Updated document 1","file":{"extension":"jpg","content":""}}}'
Response

Delete Client Document

delete
/clients/id-documents/{id-documents-uuid}

Path Parameters

document-uuid string *

Responses

200 Success

OK

Request
curl --request DELETE \
  --url 'https://api.testdayra.com/v1/clients/id-documents/{id-documents-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client Document Status

get
/clients/documents/{document-uuid}/status

Path Parameters

document-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/documents/{document-uuid}/status' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Create Client Payment Method

post
/clients/{client-uuid}/payment-methods

Path Parameters

client-uuid string *

Responses

200 Success

OK

Request
curl --request POST \
  --url 'https://api.testdayra.com/v1/clients/{client-uuid}/payment-methods' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"payment_method_type_id":"3aad83b2-bd60-11eb-8a9f-0a9c0da6eea7","issuer_id":"11ebbf32-4129-9b55-8a9f-0a9c0da6eea7","identifier":"1285693784920496","expiry_date":"11/26"}}'
Response

List Client Payment Methods

get
/clients/{client-uuid}/payment-methods

Path Parameters

client-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/{client-uuid}/payment-methods' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client Payment Method

get
/clients/payment-methods/{payment-method-uuid}

Path Parameters

payment-method-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/payment-methods/{payment-method-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Delete Client Payment Method

delete
/clients/payment-methods/{payment-method-uuid}

Path Parameters

payment-method-uuid string *

Responses

200 Success

ok

Request
curl --request DELETE \
  --url 'https://api.testdayra.com/v1/clients/payment-methods/{payment-method-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"payment_method_type_id":"73c6fff0-be26-11eb-8a9f-0a9c0da6eea7","issuer_id":"11ebbf32-4137-b8ea-8a9f-0a9c0da6eea7","identifier":"5237610051557015","expiry_date":"11/22"}}'
Response

Show Client Payment Method Status

get
/clients/payment-methods/{payment-method-uuid}/status

Path Parameters

payment-method-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/payment-methods/{payment-method-uuid}/status' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

List Payment Methods Types

get
/system/payment-methods/types

Responses

200 Success

OK

Request
curl --request GET \
  --url https://api.testdayra.com/v1/system/payment-methods/types \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Payment Methods Types

get
/system/payment-methods/types/{payment-method-type-uuid}

Path Parameters

payment-method-type-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/system/payment-methods/types/{payment-method-type-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Payment Method Type Issuers

get
/system/payment-methods/types/{payment-method-type-uuid}/issuers

Path Parameters

payment-method-type-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/system/payment-methods/types/{payment-method-type-uuid}/issuers' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Payment Method Type Issuer

get
/system/payment-methods/types/issuers/{issuer-uuid}

Path Parameters

issuer-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/system/payment-methods/types/issuers/{issuer-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Create Client Phone Number

post
/clients/{client-uuid}/phone-numbers

Path Parameters

client-uuid string *

Responses

200 Success

OK

Request
curl --request POST \
  --url 'https://api.testdayra.com/v1/clients/{client-uuid}/phone-numbers' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"prefix":"011","number":"49602864","verbose":"Mobile Number","type":"Work"}}'
Response

List Client Phone Numbers

get
/clients/{client-uuid}/phone-numbers

Path Parameters

client-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/{client-uuid}/phone-numbers' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client Phone Number

get
/clients/phone-numbers/{phone-number-uuid}

Path Parameters

phone-number-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/phone-numbers/{phone-number-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Update Client Phone Number

put
/clients/phone-numbers/{phone-number-uuid}

Path Parameters

phone-number-uuid string *

Responses

200 Success

OK

Request
curl --request PUT \
  --url 'https://api.testdayra.com/v1/clients/phone-numbers/{phone-number-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"prefix":"012","number":"49602866","verbose":"Mobile Number","type":"Work"}}'
Response

Delete Client Phone Number

delete
/clients/phone-numbers/{phone-number-uuid}

Path Parameters

phone-number-uuid string *

Responses

200 Success

OK

Request
curl --request DELETE \
  --url 'https://api.testdayra.com/v1/clients/phone-numbers/{phone-number-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Get Client Phone Number Status

get
/clients/phone-numbers/{phone-number-uuid}/status

Path Parameters

phone-number-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/phone-numbers/{phone-number-uuid}/status' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

List Clients

get
/clients

Responses

200 Success

OK

Request
curl --request GET \
  --url https://api.testdayra.com/v1/clients \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client

get
/clients/{client-uuid}

Path Parameters

client-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/{client-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Update Clients

put
/clients/{client-uuid}

Path Parameters

client-uuid string *

Responses

200 Success

OK

Request
curl --request PUT \
  --url 'https://api.testdayra.com/v1/clients/{client-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"first_name_en":"mazen"}}'
Response

Delete Client

delete
/clients/{client-uuid}

Path Parameters

client-uuid string *

Responses

200 Success

OK

Request
curl --request DELETE \
  --url 'https://api.testdayra.com/v1/clients/{client-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client Status

get
clients/{client-uuid}/status

Path Parameters

client-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1clients/{client-uuid}/status' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client Global limit

get
/clients/{client_uuid}/loans/limits/global

Path Parameters

client_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/{client_uuid}/loans/limits/global' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Store Client Photo

post
/clients/{client_uuid}/photos

Path Parameters

client_uuid string *

Responses

200 Success

OK

Request
curl --request POST \
  --url 'https://api.testdayra.com/v1/clients/{client_uuid}/photos' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"verbose":"temp","file":{"extension":"jpg","content":""}}}'
Response

List Client Photos

get
/clients/{client_uuid}/photos

Path Parameters

client_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/{client_uuid}/photos' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client Photo

get
/clients/photos/{photo_uuid}

Path Parameters

photo_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/photos/{photo_uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Delete Client Photo

delete
/clients/photos/{photo_uuid}

Path Parameters

photo_uuid string *

Responses

200 Success

OK

Request
curl --request DELETE \
  --url 'https://api.testdayra.com/v1/clients/photos/{photo_uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"due_date":"2021-06-27","amount":137000,"p_uuid":"71a8c104-7437-11eb-b385-02422b1e4a59","lp_uuid":"d7a2a134-bd69-11eb-9a7f-a559e220e689"}}'
Response

Update Client Photo

put
/clients/photos/{photo_uuid}

Path Parameters

photo_uuid string *

Responses

200 Success

OK

Request
curl --request PUT \
  --url 'https://api.testdayra.com/v1/clients/photos/{photo_uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"verbose":"temp updated"}}'
Response

Show Client Photo Status

get
/clients/photos/{photo_uuid}/status

Path Parameters

photo_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/photos/{photo_uuid}/status' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Create Client Transaction

post
/clients/{client-uuid}/transactions

Path Parameters

client-uuid string *

Responses

200 Success

OK

Request
curl --request POST \
  --url 'https://api.testdayra.com/v1/clients/{client-uuid}/transactions' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"external_id":"external id 12345","transaction_date":"2021-09-25","verbose":"July Salary","type":"Salary"}}'
Response

List All Client Transactions

get
/clients/{client-uuid}/transactions

Path Parameters

client-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/{client-uuid}/transactions' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client Transaction

get
/clients/transactions/{transaction-uuid}

Path Parameters

transaction-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/transactions/{transaction-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Get Client Transaction Status

get
/clients/transactions/{transaction-uuid}/status

Path Parameters

transaction-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/transactions/{transaction-uuid}/status' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Create Client Transaction Component

post
/clients/transactions/{transaction-uuid}/components

Path Parameters

transaction-uuid string *

Responses

200 Success

OK

Request
curl --request POST \
  --url 'https://api.testdayra.com/v1/clients/transactions/{transaction-uuid}/components' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"external_id":"CTC external_id","verbose":"July Salary","component_date":"2021-06-01","due_date":"2009-06-25","amount":60000,"type":"Salary"}}'
Response

List All Client Transactions Components

get
/clients/transactions/{transaction-uuid}/components

Path Parameters

transaction-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/transactions/{transaction-uuid}/components' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client Transaction Component

get
/clients/transactions/components/{component-uuid}

Path Parameters

component-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/transactions/components/{component-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client Transaction File

get
/clients/transactions/files/{ct_file_uuid}

Path Parameters

ct_file_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/transactions/files/{ct_file_uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Update Client Transaction File

put
/clients/transactions/files/{ct_file_uuid}

Path Parameters

ct_file_uuid string *

Responses

200 Success

OK

Request
curl --request PUT \
  --url 'https://api.testdayra.com/v1/clients/transactions/files/{ct_file_uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"verbose":"test image updated"}}'
Response

Show Client Transaction File Status

get
/clients/transactions/files/{ct_file_uuid}/status

Path Parameters

ct_file_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/transactions/files/{ct_file_uuid}/status' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Store Client Transaction Component File

post
/clients/transactions/components/{ctc_uuid}/files

Path Parameters

ctc_uuid string *

Responses

200 Success

OK

Request
curl --request POST \
  --url 'https://api.testdayra.com/v1/clients/transactions/components/{ctc_uuid}/files' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"verbose":"test ctc file","file":{"extension":"jpg","content":""}}}'
Response

List Client Transaction Component File

get
/clients/transactions/components/{ctc_uuid}/files

Path Parameters

ctc_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/transactions/components/{ctc_uuid}/files' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client Transaction Component File

get
/clients/transactions/components/files/{ctc_file_uuid}

Path Parameters

ctc_file_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/transactions/components/files/{ctc_file_uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Update Client Transaction Component File

put
/clients/transactions/components/files/{ctc_file_uuid}

Path Parameters

ctc_file_uuid string *

Responses

200 Success

OK

Request
curl --request PUT \
  --url 'https://api.testdayra.com/v1/clients/transactions/components/files/{ctc_file_uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"verbose":"ctc file updated"}}'
Response

Show Client Transaction Component File Status

get
/clients/transactions/components/files/{ctc_file_uuid}/status

Path Parameters

ctc_file_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/transactions/components/files/{ctc_file_uuid}/status' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

List Loans Factoring Products

get
/system/loans/factoring/products

Query Parameters

partner_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/system/loans/factoring/products?partner_uuid=SOME_STRING_VALUE' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Loans Factoring Product

get
/system/loans/factoring/products/{factoring_product_uuid}

Path Parameters

factoring_product_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/system/loans/factoring/products/{factoring_product_uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

List Client Outstanding Factorings

get
/clients/{client_uuid}/loans/factoring/outstanding

Path Parameters

client_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/{client_uuid}/loans/factoring/outstanding' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

List Client Historical Factorings

get
/clients/{client_uuid}/loans/factoring/history

Path Parameters

client_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/{client_uuid}/loans/factoring/history' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

List Client Factorings

get
/clients/{client_uuid}/loans/factoring

Path Parameters

client_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/{client_uuid}/loans/factoring' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Create Client Factoring

post
/clients/{client_uuid}/loans/factoring

Path Parameters

client_uuid string *

Responses

200 Success

OK

Request
curl --request POST \
  --url 'https://api.testdayra.com/v1/clients/{client_uuid}/loans/factoring' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"due_date":"2021-08-27","amount":1300,"p_uuid":"5217517a-bca4-11eb-8a9f-0a9c0da6eea7","lp_uuid":"dfd8334c-bd6d-11eb-84dd-f5e0df4f1b2e"}}'
Response

Show Client Factoring

get
/clients/loans/factoring/{factoring_uuid}

Path Parameters

factoring_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/loans/factoring/{factoring_uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client Factoring Limit

get
/clients/{client_uuid}/loans/limits/factoring

Path Parameters

client_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/{client_uuid}/loans/limits/factoring' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Partner Factoring Limit

get
/partners/{partner_uuid}/loans/limits/factoring

Path Parameters

partner_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/partners/{partner_uuid}/loans/limits/factoring' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Partner Global Limits

get
/partners/{partner_uuid}/loans/limits/global

Path Parameters

partner_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/partners/{partner_uuid}/loans/limits/global' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

List All Salary Loan Products

get
/system/loans/salary-advance/products

Responses

200 Success

OK

Request
curl --request GET \
  --url https://api.testdayra.com/v1/system/loans/salary-advance/products \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Loan Salary Product

get
/system/loans/salary-advance/products/{product-uuid}

Path Parameters

product-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/system/loans/salary-advance/products/{product-uuid}' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Get Salary Loan Product Status

get
/system/loans/salary-advance/{salary-advance-uuid}/status

Path Parameters

salary-advance-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/system/loans/salary-advance/{salary-advance-uuid}/status' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Create Client Salary Advance Loan

post
/clients/{client-uuid}/loans/salary-advance

Path Parameters

client-uuid string *

Responses

200 Success

OK

Request
curl --request POST \
  --url 'https://api.testdayra.com/v1/clients/{client-uuid}/loans/salary-advance' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"ctc_uuid":"867f4f3e-df45-11eb-9fec-afeb77fd4cc2","lp_uuid":"7c50c5d0-a83b-4dc2-bd4e-e60fdb0a55dc","amount":"10000"}}'
Response

List All Client Salary Advance Loans

get
/clients/{client-uuid}/loans/salary-advance

Path Parameters

client-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/{client-uuid}/loans/salary-advance' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Get All Clients Salary Advance Loans

get
/clients/loans/salary-advance

Responses

200 Success

OK

Request
curl --request GET \
  --url https://api.testdayra.com/v1/clients/loans/salary-advance \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Client Salary Advance Loan Status

get
/clients/loans/salary-advance/{salary-advance-uuid}/status

Path Parameters

salary-advance-uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/clients/loans/salary-advance/{salary-advance-uuid}/status' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Show Partner Salary Advance Limit

get
/partners/{partner_uuid}/loans/limits/salary-advance

Path Parameters

partner_uuid string *

Responses

200 Success

OK

Request
curl --request GET \
  --url 'https://api.testdayra.com/v1/partners/{partner_uuid}/loans/limits/salary-advance' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json'
Response

Create Client Salary Advance - Wrapper

post
/setup/clients/{client_uuid}/loans/salary-advance

Path Parameters

client_uuid string *

Responses

200 Success

OK

Request
curl --request POST \
  --url 'https://api.testdayra.com/v1/setup/clients/{client_uuid}/loans/salary-advance' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"payload":{"external_id":"HEYFIRSTLOAN","transaction_date":"2021-09-25","ct_verbose":"salary","ctc_verbose":"salary-ctc","type":"Salary","due_date":"2021-09-25","total_amount":10000,"requested_amount":2000,"lp_uuid":"7c50c5d0-a83b-4dc2-bd4e-e60fdb0a55dc"}}'
Response