{"openapi":"3.0.3","info":{"title":"API V1","version":"1.0.0","contact":{}},"servers":[{"url":"https://sandbox.directremitworldwide.com"}],"paths":{"/api/v1/agent_destination_countries":{"get":{"tags":["api","v1","agent_destination_countries"],"summary":"Get Agent Destination Countries","description":"Get Agent Destination Countries","operationId":"getAgentDestinationCountries","responses":{"200":{"description":"Agent dest_countries found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"2025-12-08T07:55:59.790Z"}}},"dest_countries":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","example":"string"},"country_name":{"type":"string","example":"string"}}},"example":[{"code":"string","country_name":"string"},{"code":"string","country_name":"string"}]},"message":{"type":"number","example":1638},"status_code":{"type":"number","example":5522}}},"examples":{"Agent dest_countries found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"2025-12-08T07:55:59.790Z"},"dest_countries":[{"code":"string","country_name":"string"},{"code":"string","country_name":"string"}],"message":1638,"status_code":5522}}}}}},"400":{"description":"Agent not found","content":{"text/plain":{"examples":{"Agent not found":{"value":""}}}}}}}},"/api/v1/agent_products":{"get":{"tags":["api","v1","agent_products"],"summary":"Get Agent Products","description":"Get Agent Products","operationId":"getAgentProducts","responses":{"200":{"description":"Agent products found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"1962-11-09T15:34:05.398Z"}}},"pdt_code":{"type":"string","example":"string"},"pdt_currency":{"type":"string","example":"string"},"pdt_name":{"type":"number","example":788.9848768802054},"products":{"type":"array","items":{"type":"object","properties":{"is_agent_network":{"type":"string","example":"string"},"is_payout_agent_mandatory":{"type":"boolean","example":true},"is_pickup_center_mandatory":{"type":"boolean","example":false},"pdt_code":{"type":"string","example":"string"},"pdt_currency":{"type":"string","example":"string"},"pdt_del_sub_type":{"type":"number","example":6201},"pdt_delivery_type":{"type":"number","example":3741},"pdt_dest_country":{"type":"string","example":"string"},"pdt_name":{"type":"string","example":"string"}}},"example":[{"is_agent_network":"string","is_payout_agent_mandatory":true,"is_pickup_center_mandatory":false,"pdt_code":"string","pdt_currency":"string","pdt_del_sub_type":6201,"pdt_delivery_type":3741,"pdt_dest_country":"string","pdt_name":"string"},{"is_agent_network":"string","is_payout_agent_mandatory":true,"is_pickup_center_mandatory":false,"pdt_code":"string","pdt_currency":"string","pdt_del_sub_type":641,"pdt_delivery_type":6793,"pdt_dest_country":"string","pdt_name":"string"}]}}},"examples":{"Agent products found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"1962-11-09T15:34:05.398Z"},"pdt_code":"string","pdt_currency":"string","pdt_name":788.9848768802054,"products":[{"is_agent_network":"string","is_payout_agent_mandatory":true,"is_pickup_center_mandatory":false,"pdt_code":"string","pdt_currency":"string","pdt_del_sub_type":6201,"pdt_delivery_type":3741,"pdt_dest_country":"string","pdt_name":"string"},{"is_agent_network":"string","is_payout_agent_mandatory":true,"is_pickup_center_mandatory":false,"pdt_code":"string","pdt_currency":"string","pdt_del_sub_type":641,"pdt_delivery_type":6793,"pdt_dest_country":"string","pdt_name":"string"}]}}}}}},"400":{"description":"Agent not found","content":{"text/plain":{"examples":{"Agent not found":{"value":""}}}}}}}},"/api/v1/preferred_product":{"get":{"tags":["api","v1","preferred_product"],"summary":"Get Preferred Products","description":"Get Preferred Products","operationId":"getPreferredProducts","parameters":[{"name":"destination_country_code","in":"query","schema":{"type":"string","example":"string"},"description":"Destination country code"},{"name":"currency_code","in":"query","schema":{"type":"string","example":"string"},"description":"Currency code"},{"name":"delivery_type","in":"query","schema":{"type":"string","example":"string"},"description":"Delivery type"}],"responses":{"200":{"description":"Preferred products found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"1980-05-18T13:46:31.743Z"}}},"pdt_code":{"type":"number","example":9810.243038108309},"pdt_currency":{"type":"number","example":3628},"pdt_name":{"type":"boolean","example":true},"products":{"type":"array","items":{"type":"object","properties":{"is_agent_network":{"type":"string","example":"true"},"is_payout_agent_mandatory":{"type":"boolean","example":true},"is_pickup_center_mandatory":{"type":"boolean","example":false},"pdt_code":{"type":"string","example":"123"},"pdt_currency":{"type":"string","example":"USD"},"pdt_del_sub_type":{"type":"number","example":1},"pdt_delivery_type":{"type":"number","example":2},"pdt_dest_country":{"type":"string","example":"PH"},"pdt_name":{"type":"string","example":"Western Union"}}},"example":[{"is_agent_network":"true","is_payout_agent_mandatory":true,"is_pickup_center_mandatory":false,"pdt_code":"123","pdt_currency":"USD","pdt_del_sub_type":1,"pdt_delivery_type":2,"pdt_dest_country":"PH","pdt_name":"Western Union"},{"is_agent_network":"true","is_payout_agent_mandatory":true,"is_pickup_center_mandatory":false,"pdt_code":"123","pdt_currency":"USD","pdt_del_sub_type":1,"pdt_delivery_type":2,"pdt_dest_country":"PH","pdt_name":"Western Union"}]}}},"examples":{"Preferred products found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"1980-05-18T13:46:31.743Z"},"pdt_code":9810.243038108309,"pdt_currency":3628,"pdt_name":true,"products":[{"is_agent_network":"true","is_payout_agent_mandatory":true,"is_pickup_center_mandatory":false,"pdt_code":"123","pdt_currency":"USD","pdt_del_sub_type":1,"pdt_delivery_type":2,"pdt_dest_country":"PH","pdt_name":"Western Union"},{"is_agent_network":"true","is_payout_agent_mandatory":true,"is_pickup_center_mandatory":false,"pdt_code":"123","pdt_currency":"USD","pdt_del_sub_type":1,"pdt_delivery_type":2,"pdt_dest_country":"PH","pdt_name":"Western Union"}]}}}}}},"401":{"description":"Unauthorized","content":{"text/plain":{"examples":{"Unauthorized":{"value":""}}}}},"404":{"description":"Agent not found","content":{"text/plain":{"examples":{"Agent not found":{"value":""}}}}}}}},"/api/v1/payout_sub_agents/{paying_agent_code}":{"get":{"tags":["api","v1","payout_sub_agents","{paying_agent_code}"],"summary":"Get payout sub agents","description":"Get payout sub agents","operationId":"getPayoutSubAgents","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"1999-11-23T21:58:49.471Z"}}},"payout_agents":{"type":"array","items":{"type":"object","properties":{"sub_agent_code":{"type":"number","example":1170},"sub_agent_name":{"type":"string","example":"string"}}},"example":[{"sub_agent_code":1170,"sub_agent_name":"string"},{"sub_agent_code":695,"sub_agent_name":"string"}]}}},"examples":{"success":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"1999-11-23T21:58:49.471Z"},"payout_agents":[{"sub_agent_code":1170,"sub_agent_name":"string"},{"sub_agent_code":695,"sub_agent_name":"string"}]}}}}}},"404":{"description":"Paying Agent not found","content":{"text/plain":{"examples":{"Paying Agent not found":{"value":""}}}}}}},"parameters":[{"name":"paying_agent_code","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/auth/sign_in":{"post":{"tags":["api","v1","auth","sign_in"],"summary":"Sign in","description":"Sign in","operationId":"signIn","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","example":"string"},"password":{"type":"string","example":"string"}}},"examples":{"Sign in":{"value":{"email":"string","password":"string"}}}}}},"responses":{"200":{"description":"successful sign in","content":{"text/plain":{"examples":{"successful sign in":{"value":""}}}}},"401":{"description":"invalid email or password","content":{"text/plain":{"examples":{"invalid email or password":{"value":""}}}}}}}},"/api/v1/country_banks":{"get":{"tags":["api","v1","country_banks"],"summary":"Get preferred banks by country and currency","description":"Get preferred banks by country and currency","operationId":"getPreferredBanksByCountryAndCurrency","parameters":[{"name":"destination_country_code","in":"query","schema":{"type":"string","example":"PK"}},{"name":"currency_code","in":"query","schema":{"type":"string","example":"PKR"}},{"name":"delivery_type","in":"query","schema":{"type":"string","example":"1"}}],"responses":{"200":{"description":"Banks found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"200"},"time_stamp":{"type":"string","example":"2006-03-31T05:41:51.093Z"}}},"beneficiary_banks":{"type":"array","items":{"type":"object","properties":{"bank_code":{"type":"string","example":"HBL"},"bank_name":{"type":"string","example":"Habib Bank Limited"}}},"example":[{"bank_code":"HBL","bank_name":"Habib Bank Limited"},{"bank_code":"HBL","bank_name":"Habib Bank Limited"}]}}},"examples":{"Banks found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"200","time_stamp":"2006-03-31T05:41:51.093Z"},"beneficiary_banks":[{"bank_code":"HBL","bank_name":"Habib Bank Limited"},{"bank_code":"HBL","bank_name":"Habib Bank Limited"}]}}}}}},"400":{"description":"Missing required parameter","content":{"text/plain":{"examples":{"Missing required parameter":{"value":""}}}}},"401":{"description":"Unauthorized access","content":{"text/plain":{"examples":{"Unauthorized access":{"value":""}}}}},"404":{"description":"Preferred product not found","content":{"text/plain":{"examples":{"Preferred product not found":{"value":""}}}}}}}},"/api/v1/branches/bank/{bank_code}":{"get":{"tags":["api","v1","branches","bank","{bank_code}"],"summary":"Retrieves all Branches","description":"Retrieves all Branches","operationId":"retrievesAllBranches","responses":{"200":{"description":"Branches found","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"1983-02-05T18:26:42.763Z"}}},"branches":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","example":"string"},"bank_assign_code":{"type":"string","example":"string"},"city":{"type":"string","example":"string"},"code":{"type":"number","example":2413},"district":{"type":"string","example":"string"},"email":{"type":"string","example":"string"},"id":{"type":"number","example":7549},"name":{"type":"string","example":"string"},"phone_no":{"type":"string","example":"string"},"routing_code":{"type":"string","example":"string"},"swift_code":{"type":"string","example":"string"}}},"example":[{"address":"string","bank_assign_code":"string","city":"string","code":2413,"district":"string","email":"string","id":7549,"name":"string","phone_no":"string","routing_code":"string","swift_code":"string"},{"address":"string","bank_assign_code":"string","city":"string","code":8437,"district":"string","email":"string","id":379,"name":"string","phone_no":"string","routing_code":"string","swift_code":"string"}]}}},"example":[{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"1983-02-05T18:26:42.763Z"},"branches":[{"address":"string","bank_assign_code":"string","city":"string","code":2413,"district":"string","email":"string","id":7549,"name":"string","phone_no":"string","routing_code":"string","swift_code":"string"},{"address":"string","bank_assign_code":"string","city":"string","code":8437,"district":"string","email":"string","id":379,"name":"string","phone_no":"string","routing_code":"string","swift_code":"string"}]},{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"2001-09-19T07:28:15.791Z"},"branches":[{"address":"string","bank_assign_code":"string","city":"string","code":6506,"district":"string","email":"string","id":1811,"name":"string","phone_no":"string","routing_code":"string","swift_code":"string"},{"address":"string","bank_assign_code":"string","city":"string","code":2851,"district":"string","email":"string","id":1405,"name":"string","phone_no":"string","routing_code":"string","swift_code":"string"}]}]},"examples":{"Branches found":{"value":[{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"1983-02-05T18:26:42.763Z"},"branches":[{"address":"string","bank_assign_code":"string","city":"string","code":2413,"district":"string","email":"string","id":7549,"name":"string","phone_no":"string","routing_code":"string","swift_code":"string"},{"address":"string","bank_assign_code":"string","city":"string","code":8437,"district":"string","email":"string","id":379,"name":"string","phone_no":"string","routing_code":"string","swift_code":"string"}]},{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"2001-09-19T07:28:15.791Z"},"branches":[{"address":"string","bank_assign_code":"string","city":"string","code":6506,"district":"string","email":"string","id":1811,"name":"string","phone_no":"string","routing_code":"string","swift_code":"string"},{"address":"string","bank_assign_code":"string","city":"string","code":2851,"district":"string","email":"string","id":1405,"name":"string","phone_no":"string","routing_code":"string","swift_code":"string"}]}]}}}}},"404":{"description":"Branches not found","content":{"text/plain":{"examples":{"Branches not found":{"value":""}}}}}}},"parameters":[{"name":"bank_code","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/branch/{swift_ifsc}":{"get":{"tags":["api","v1","branch","{swift_ifsc}"],"summary":"Get branch and bank","description":"Get branch and bank","operationId":"getBranchAndBank","responses":{"200":{"description":"Branch found","content":{"application/json":{"schema":{"type":"object","properties":{"address_1":{"type":"string","example":"string"},"address_2":{"type":"string","example":"string"},"address_3":{"type":"string","example":"string"},"bank_code":{"type":"string","example":"string"},"bank_name":{"type":"string","example":"string"},"branch_code":{"type":"string","example":"string"},"branch_ifsc":{"type":"string","example":"string"},"branch_name":{"type":"string","example":"string"}}},"examples":{"Branch found":{"value":{"address_1":"string","address_2":"string","address_3":"string","bank_code":"string","bank_name":"string","branch_code":"string","branch_ifsc":"string","branch_name":"string"}}}}}},"404":{"description":"Branch not found","content":{"text/plain":{"examples":{"Branch not found":{"value":""}}}}}}},"parameters":[{"name":"swift_ifsc","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/currencies":{"get":{"tags":["api","v1","currencies"],"summary":"Retrive all Currencies","description":"Retrive all Currencies","operationId":"retriveAllCurrencies","responses":{"200":{"description":"Currencies found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"2012-08-12T16:50:37.534Z"}}},"currencies":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","example":"string"},"name":{"type":"string","example":"string"},"symbol":{"type":"string","example":"string"}}},"example":[{"code":"string","name":"string","symbol":"string"},{"code":"string","name":"string","symbol":"string"}]}}},"examples":{"Currencies found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"2012-08-12T16:50:37.534Z"},"currencies":[{"code":"string","name":"string","symbol":"string"},{"code":"string","name":"string","symbol":"string"}]}}}}}},"404":{"description":"Currencies not found","content":{"text/plain":{"examples":{"Currencies not found":{"value":""}}}}}}}},"/api/v1/destination_currencies/{destination_country_code}":{"get":{"tags":["api","v1","destination_currencies","{destination_country_code}"],"summary":"Retrive country currencies","description":"Retrive country currencies","operationId":"retriveCountryCurrencies","responses":{"200":{"description":"Currencies found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"200"},"time_stamp":{"type":"string","example":"1998-06-15T08:10:03.473Z"}}},"currencies":{"type":"array","items":{"type":"object","properties":{"currency_name":{"type":"string","example":"USD"},"key_0":{"example":"string","anyOf":[{"type":"string","example":"string"},{"type":"number","example":9775.171084628622}]}}},"example":[{"currency_name":"USD","key_0":"string"},{"currency_name":"USD","key_0":9775.171084628622}]}}},"examples":{"Currencies found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"200","time_stamp":"1998-06-15T08:10:03.473Z"},"currencies":[{"currency_name":"USD","key_0":"string"},{"currency_name":"USD","key_0":9775.171084628622}]}}}}}},"400":{"description":"Missing required parameter","content":{"text/plain":{"examples":{"Missing required parameter":{"value":""}}}}},"401":{"description":"Unauthorized access","content":{"text/plain":{"examples":{"Unauthorized access":{"value":""}}}}},"404":{"description":"Destination Country not found","content":{"text/plain":{"examples":{"Destination Country not found":{"value":""}}}}}}},"parameters":[{"name":"destination_country_code","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/customer_services/requests":{"post":{"tags":["api","v1","customer_services","requests"],"summary":"Create a customer service request","description":"Create a customer service request","operationId":"createACustomerServiceRequest","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"comment":{"type":"string","example":"string"},"ptcn_no":{"type":"string","example":"string"},"request_data":{"type":"object","properties":{"account_no":{"type":"string","example":""},"first_name":{"type":"string","example":""},"last_name":{"type":"string","example":""},"middle_name":{"type":"string","example":""},"primary_cell_number":{"type":"string","example":""},"surname":{"type":"string","example":""}}},"request_type":{"type":"number","example":9046}}},"examples":{"Create a customer service request":{"value":{"comment":"string","ptcn_no":"string","request_data":{"account_no":"","first_name":"","last_name":"","middle_name":"","primary_cell_number":"","surname":""},"request_type":9046}}}}}},"responses":{"200":{"description":"Customer service request created successfully","content":{"text/plain":{"examples":{"Customer service request created successfully":{"value":""}}}}},"400":{"description":"Bad request","content":{"text/plain":{"examples":{"Bad request":{"value":""}}}}},"404":{"description":"Customer Service not found","content":{"text/plain":{"examples":{"Customer Service not found":{"value":""}}}}}}}},"/api/v1/customer_services/cancellation_requests":{"post":{"tags":["api","v1","customer_services","cancellation_requests"],"summary":"Create a cancellation request","description":"Create a cancellation request","operationId":"createACancellationRequest","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"comment":{"type":"string","example":"string"},"ptcn_no":{"type":"string","example":"string"}}},"examples":{"Create a cancellation request":{"value":{"comment":"string","ptcn_no":"string"}}}}}},"responses":{"200":{"description":"Cancellation request created successfully","content":{"text/plain":{"examples":{"Cancellation request created successfully":{"value":""}}}}},"400":{"description":"Bad request","content":{"text/plain":{"examples":{"Bad request":{"value":""}}}}},"404":{"description":"Transaction not found","content":{"text/plain":{"examples":{"Transaction not found":{"value":""}}}}}}}},"/api/v1/customer_services/cancel_request_status/{request_no}":{"get":{"tags":["api","v1","customer_services","cancel_request_status","{request_no}"],"summary":"Get cancellation request status","description":"Get cancellation request status","operationId":"getCancellationRequestStatus","responses":{"200":{"description":"Success","content":{"text/plain":{"examples":{"Success":{"value":""}}}}},"400":{"description":"Request not found","content":{"text/plain":{"examples":{"Request not found":{"value":""}}}}}}},"parameters":[{"name":"request_no","in":"path","required":true,"schema":{"type":"string","example":"5199"}}]},"/api/v1/nationalities":{"get":{"tags":["api","v1","nationalities"],"summary":"Retrieves all Nationalities","description":"Retrieves all Nationalities","operationId":"retrievesAllNationalities","responses":{"200":{"description":"Natioanlities found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"2003-08-02T15:59:38.487Z"}}},"dest_countries":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","example":"string"},"country_name":{"type":"string","example":"string"}}},"example":[{"code":"string","country_name":"string"},{"code":"string","country_name":"string"}]}}},"examples":{"Natioanlities found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"2003-08-02T15:59:38.487Z"},"dest_countries":[{"code":"string","country_name":"string"},{"code":"string","country_name":"string"}]}}}}}},"404":{"description":"destination countries not found","content":{"text/plain":{"examples":{"destination countries not found":{"value":""}}}}}}}},"/api/v1/id_types/{product_code}":{"get":{"tags":["api","v1","id_types","{product_code}"],"summary":"Find ID Types by product code","description":"Find ID Types by product code","operationId":"findIdTypesByProductCode","responses":{"200":{"description":"Id Types found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"1968-08-18T10:26:18.694Z"}}},"id_types":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","example":"string"},"name":{"type":"string","example":"string"}}},"example":[{"code":"string","name":"string"},{"code":"string","name":"string"}]}}},"examples":{"Id Types found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"1968-08-18T10:26:18.694Z"},"id_types":[{"code":"string","name":"string"},{"code":"string","name":"string"}]}}}}}},"400":{"description":"Invalid code","content":{"text/plain":{"examples":{"Invalid code":{"value":""}}}}},"404":{"description":"No id type found","content":{"text/plain":{"examples":{"No id type found":{"value":""}}}}}}},"parameters":[{"name":"product_code","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/product_banks/{product_code}":{"get":{"tags":["api","v1","product_banks","{product_code}1"],"summary":"Get Product Banks","description":"Get Product Banks","operationId":"getProductBanks","responses":{"200":{"description":"Banks found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"1989-08-09T03:58:21.883Z"}}},"beneficiary_banks":{"type":"array","items":{"type":"object","properties":{"bank_code":{"type":"string","example":"string"},"bank_name":{"type":"string","example":"string"}}},"example":[{"bank_code":"string","bank_name":"string"},{"bank_code":"string","bank_name":"string"}]}}},"examples":{"Banks found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"1989-08-09T03:58:21.883Z"},"beneficiary_banks":[{"bank_code":"string","bank_name":"string"},{"bank_code":"string","bank_name":"string"}]}}}}}},"404":{"description":"product not found","content":{"text/plain":{"examples":{"product not found":{"value":""}}}}}}},"parameters":[{"name":"product_code","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/payout_agents/{product_id}":{"get":{"tags":["api","v1","payout_agents","{product_id}"],"summary":"Get payout agents","description":"Get payout agents","operationId":"getPayoutAgents","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"1987-02-08T04:08:16.471Z"}}},"payout_agents":{"type":"array","items":{"type":"object","properties":{"address_1":{"type":"string","example":"string"},"agent_code":{"type":"number","example":4190},"agent_name":{"type":"string","example":"string"}}},"example":[{"address_1":"string","agent_code":4190,"agent_name":"string"},{"address_1":"string","agent_code":1201,"agent_name":"string"}]}}},"examples":{"success":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"1987-02-08T04:08:16.471Z"},"payout_agents":[{"address_1":"string","agent_code":4190,"agent_name":"string"},{"address_1":"string","agent_code":1201,"agent_name":"string"}]}}}}}},"404":{"description":"product not found","content":{"text/plain":{"examples":{"product not found":{"value":""}}}}}}},"parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/payment_modes/{pdt_code}":{"get":{"tags":["api","v1","payment_modes","{pdt_code}"],"summary":"Get Payment Mode","description":"Get Payment Mode","operationId":"getPaymentMode","responses":{"200":{"description":"Payment Modes found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"1982-09-29T00:48:27.203Z"}}},"payment_modes":{"type":"object","properties":{"code":{"type":"number","example":8322},"payment_mode_name":{"type":"string","example":"string"}}}}},"examples":{"Payment Modes found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"1982-09-29T00:48:27.203Z"},"payment_modes":{"code":8322,"payment_mode_name":"string"}}}}}}},"404":{"description":"Payment Mode not found","content":{"text/plain":{"examples":{"Payment Mode not found":{"value":""}}}}}}},"parameters":[{"name":"pdt_code","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/bene_account_types/{pdt_code}":{"get":{"tags":["api","v1","bene_account_types","{pdt_code}1"],"summary":"Get Bene Account Types Mode","description":"Get Bene Account Types Mode","operationId":"getBeneAccountTypesMode","responses":{"200":{"description":"Bene Account types found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"1968-03-01T23:51:52.440Z"}}},"bene_account_types":{"type":"array","items":{"type":"object","properties":{"account_type_code":{"type":"number","example":8495},"account_type_name":{"type":"string","example":"string"}}},"example":[{"account_type_code":8495,"account_type_name":"string"},{"account_type_code":3757,"account_type_name":"string"}]}}},"examples":{"Bene Account types found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"1968-03-01T23:51:52.440Z"},"bene_account_types":[{"account_type_code":8495,"account_type_name":"string"},{"account_type_code":3757,"account_type_name":"string"}]}}}}}},"404":{"description":"Bene Account Types not found","content":{"text/plain":{"examples":{"Bene Account Types not found":{"value":""}}}}}}},"parameters":[{"name":"pdt_code","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/pickup_centers/{pdt_code}":{"get":{"tags":["api","v1","pickup_centers","{pdt_code}12"],"summary":"Get Pickup Centers Mode","description":"Get Pickup Centers Mode","operationId":"getPickupCentersMode","responses":{"200":{"description":"Pickup Centers found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"1966-11-23T22:11:57.990Z"}}},"pickup_centers":{"type":"array","items":{"type":"object","properties":{"code":{"type":"number","example":4397},"name":{"type":"string","example":"string"}}},"example":[{"code":4397,"name":"string"},{"code":1529,"name":"string"}]}}},"examples":{"Pickup Centers found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"1966-11-23T22:11:57.990Z"},"pickup_centers":[{"code":4397,"name":"string"},{"code":1529,"name":"string"}]}}}}}},"404":{"description":"Pickup Centers not found","content":{"text/plain":{"examples":{"Pickup Centers not found":{"value":""}}}}}}},"parameters":[{"name":"pdt_code","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/products/payers/{product_code}":{"get":{"tags":["api","v1","products","payers","{product_code}12"],"summary":"Get Product Payers","description":"Get Product Payers","operationId":"getProductPayers","responses":{"200":{"description":"Payers found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"2022-12-11T05:55:50.462Z"}}},"payers":{"type":"array","items":{"type":"object","properties":{"b_code":{"type":"string","example":"string"},"code":{"type":"string","example":"string"},"name":{"type":"string","example":"string"}}},"example":[{"b_code":"string","code":"string","name":"string"},{"b_code":"string","code":"string","name":"string"}]}}},"examples":{"Payers found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"2022-12-11T05:55:50.462Z"},"payers":[{"b_code":"string","code":"string","name":"string"},{"b_code":"string","code":"string","name":"string"}]}}}}}},"404":{"description":"Payers not found","content":{"text/plain":{"examples":{"Payers not found":{"value":""}}}}}}},"parameters":[{"name":"product_code","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/products/get_payout_cities/{product_code}":{"get":{"tags":["api","v1","products","get_payout_cities","{product_code}123"],"summary":"Get cities","description":"Get cities","operationId":"getCities","responses":{"200":{"description":"Cities found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"2014-01-03T08:46:21.034Z"}}},"payers":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string","example":"string"},"city_code":{"type":"string","example":"string"},"city_name":{"type":"string","example":"string"}}},"example":[{"address":"string","city_code":"string","city_name":"string"},{"address":"string","city_code":"string","city_name":"string"}]}}},"examples":{"Cities found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"2014-01-03T08:46:21.034Z"},"payers":[{"address":"string","city_code":"string","city_name":"string"},{"address":"string","city_code":"string","city_name":"string"}]}}}}}},"404":{"description":"Cities not found","content":{"text/plain":{"examples":{"Cities not found":{"value":""}}}}}}},"parameters":[{"name":"product_code","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/purpose_of_transfers/{product_code}":{"get":{"tags":["api","v1","purpose_of_transfers","{product_code}1234"],"summary":"Find POT by product code","description":"Find POT by product code","operationId":"findPotByProductCode","responses":{"200":{"description":"Purpose Of Transfer found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"1997-08-26T02:39:59.406Z"}}},"purpose_of_transfers":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","example":"string"},"name":{"type":"string","example":"string"}}},"example":[{"code":"string","name":"string"},{"code":"string","name":"string"}]}}},"examples":{"Purpose Of Transfer found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"1997-08-26T02:39:59.406Z"},"purpose_of_transfers":[{"code":"string","name":"string"},{"code":"string","name":"string"}]}}}}}},"400":{"description":"Invalid code","content":{"text/plain":{"examples":{"Invalid code":{"value":""}}}}},"404":{"description":"No pot found","content":{"text/plain":{"examples":{"No pot found":{"value":""}}}}}}},"parameters":[{"name":"product_code","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/source_of_incomes/{product_code}":{"get":{"tags":["api","v1","source_of_incomes","{product_code}12345"],"summary":"Find SOI by product code","description":"Find SOI by product code","operationId":"findSoiByProductCode","responses":{"200":{"description":"Source Of Income found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"2021-06-06T08:03:38.255Z"}}},"source_of_incomes":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","example":"string"},"name":{"type":"string","example":"string"}}},"example":[{"code":"string","name":"string"},{"code":"string","name":"string"}]}}},"examples":{"Source Of Income found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"2021-06-06T08:03:38.255Z"},"source_of_incomes":[{"code":"string","name":"string"},{"code":"string","name":"string"}]}}}}}},"400":{"description":"Invalid code","content":{"text/plain":{"examples":{"Invalid code":{"value":""}}}}},"404":{"description":"No SOI found","content":{"text/plain":{"examples":{"No SOI found":{"value":""}}}}}}},"parameters":[{"name":"product_code","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/transaction_status/{ptcn_no}":{"get":{"tags":["api","v1","transaction_status","{ptcn_no}"],"summary":"Get Transaction Status","description":"Get Transaction Status","operationId":"getTransactionStatus","responses":{"200":{"description":"Transaction found","content":{"application/json":{"schema":{"type":"object","properties":{"bene_name":{"type":"string","example":"string"},"customer_name":{"type":"string","example":"string"},"fc_amount":{"type":"string","example":"string"},"ptcn_no":{"type":"string","example":"string"},"remarks1":{"type":"string","example":"string"},"remarks2":{"type":"string","example":"string"},"status":{"type":"string","example":"string"},"status_description":{"type":"string","example":"string"},"submitted_date":{"type":"string","example":"string"}}},"examples":{"Transaction found":{"value":{"bene_name":"string","customer_name":"string","fc_amount":"string","ptcn_no":"string","remarks1":"string","remarks2":"string","status":"string","status_description":"string","submitted_date":"string"}}}}}},"404":{"description":"Transaction not found","content":{"text/plain":{"examples":{"Transaction not found":{"value":""}}}}}}},"parameters":[{"name":"ptcn_no","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/corr_transaction/{ptcn_no}":{"get":{"tags":["api","v1","corr_transaction","{ptcn_no}1"],"summary":"Get Transaction Details","description":"Get Transaction Details","operationId":"getTransactionDetails","responses":{"200":{"description":"Transaction Found","content":{"application/json":{"schema":{"type":"object","properties":{"bank_details":{"type":"object","properties":{}},"bene_details":{"type":"object","properties":{}},"customer_details":{"type":"object","properties":{}},"partner_id":{"type":"string","example":"string"},"payment_mode":{"type":"number","example":8333},"payout_details":{"type":"object","properties":{}},"payout_location_name":{"type":"string","example":"string"},"pin_no":{"type":"string","example":"string"},"purpose_of_transfer":{"type":"string","example":"string"},"source_of_income":{"type":"string","example":"string"},"transaction_date":{"type":"string","example":"2013-07-03"}}},"examples":{"Transaction Found":{"value":{"bank_details":{},"bene_details":{},"customer_details":{},"partner_id":"string","payment_mode":8333,"payout_details":{},"payout_location_name":"string","pin_no":"string","purpose_of_transfer":"string","source_of_income":"string","transaction_date":"2013-07-03"}}}}}},"404":{"description":"Transaction not found","content":{"text/plain":{"examples":{"Transaction not found":{"value":""}}}}}}},"parameters":[{"name":"ptcn_no","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/approve_transaction/{ptcn_no}":{"patch":{"tags":["api","v1","approve_transaction","{ptcn_no}12"],"summary":"Confirm Transaction Status","description":"Confirm Transaction Status","operationId":"confirmTransactionStatus","responses":{"200":{"description":"Transaction confirmed","content":{"text/plain":{"examples":{"Transaction confirmed":{"value":""}}}}},"404":{"description":"Transaction not found","content":{"text/plain":{"examples":{"Transaction not found":{"value":""}}}}}}},"parameters":[{"name":"ptcn_no","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/approve_multiple_transactions":{"patch":{"tags":["api","v1","approve_multiple_transactions"],"summary":"Confirm Multiple Transaction Status max 10","description":"Confirm Multiple Transaction Status max 10","operationId":"confirmMultipleTransactionStatusMax10","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"transactions_ptcn_no":{"type":"array","items":{"type":"string","example":"P001"},"example":["P001","P002","P003"]}}},"examples":{"Confirm Multiple Transaction Status max 10":{"value":{"transactions_ptcn_no":["P001","P002","P003"]}}}}}},"responses":{"200":{"description":"Transaction confirmation results","content":{"text/plain":{"examples":{"Transaction confirmation results":{"value":""}}}}},"404":{"description":"Not authorized or invalid input","content":{"text/plain":{"examples":{"Not authorized or invalid input":{"value":""}}}}}}}},"/api/v1/multiple_transactions_status":{"post":{"tags":["api","v1","multiple_transactions_status"],"summary":"Get Multiple Transaction Status max 50","description":"Get Multiple Transaction Status max 50","operationId":"getMultipleTransactionStatusMax50","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ptcn_nos":{"type":"array","items":{"type":"string","example":"P001"},"example":["P001","P002","P999"]}}},"examples":{"Get Multiple Transaction Status max 50":{"value":{"ptcn_nos":["P001","P002","P999"]}}}}}},"responses":{"200":{"description":"Statuses returned","content":{"text/plain":{"examples":{"Statuses returned":{"value":""}}}}},"401":{"description":"Unauthorized","content":{"text/plain":{"examples":{"Unauthorized":{"value":""}}}}}}}},"/api/v1/pay_transaction/{ptcn_no}":{"patch":{"tags":["api","v1","pay_transaction","{ptcn_no}123"],"summary":"Pay Transaction Status","description":"Pay Transaction Status","operationId":"payTransactionStatus","responses":{"200":{"description":"Transaction Paid","content":{"text/plain":{"examples":{"Transaction Paid":{"value":""}}}}},"404":{"description":"Transaction not found","content":{"text/plain":{"examples":{"Transaction not found":{"value":""}}}}}}},"parameters":[{"name":"ptcn_no","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/transactions/date_between":{"get":{"tags":["api","v1","transactions","date_between"],"summary":"Find Transactions Between Dates","description":"Find Transactions Between Dates","operationId":"findTransactionsBetweenDates","parameters":[{"name":"start_date","in":"query","schema":{"type":"string","example":"string"},"description":"Start date (YYYY-MM-DD)"},{"name":"end_date","in":"query","schema":{"type":"string","example":"string"},"description":"End date (YYYY-MM-DD)"}],"responses":{"200":{"description":"Transactions found","content":{"text/plain":{"examples":{"Transactions found":{"value":""}}}}},"400":{"description":"Invalid date format","content":{"text/plain":{"examples":{"Invalid date format":{"value":""}}}}},"404":{"description":"No transactions found","content":{"text/plain":{"examples":{"No transactions found":{"value":""}}}}}}}},"/api/v1/transactions/products/get_required_fields/{product_id}":{"get":{"tags":["api","v1","transactions","products1","get_required_fields","{product_id}1"],"summary":"Get Required Fields","description":"Get Required Fields","operationId":"getRequiredFields","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"success"},"status_code":{"type":"number","example":1},"time_stamp":{"type":"number","example":1767085483},"transfer_to":{"type":"object","properties":{"desc":{"type":"object","properties":{"message":{"type":"string","example":"required"}}},"mandatory":{"type":"number","example":1}}}}}}},"examples":{"Success":{"value":{"api_response":{"message":"success","status_code":1,"time_stamp":1767085483,"transfer_to":{"desc":{"message":"required"},"mandatory":1}}}}}}}},"400":{"description":"Product not found","content":{"text/plain":{"examples":{"Product not found":{"value":""}}}}}}},"parameters":[{"name":"product_id","in":"path","required":true,"schema":{"type":"string","example":"5199"}}]},"/api/v1/transactions/get_charge":{"get":{"tags":["api","v1","transactions","get_charge"],"summary":"get charge","description":"get charge","operationId":"getCharge","parameters":[{"name":"product_code","in":"query","schema":{"type":"string","example":"5199"}},{"name":"destination_country_code","in":"query","schema":{"type":"string","example":"string"}},{"name":"bene_amount","in":"query","schema":{"type":"string","example":"3897.927344535119"}}],"responses":{"200":{"description":"Success","content":{"text/plain":{"examples":{"Success":{"value":""}}}}},"400":{"description":"Bad Request","content":{"text/plain":{"examples":{"Bad Request":{"value":""}}}}}}}},"/api/v1/validate_transaction":{"post":{"tags":["api","v1","validate_transaction"],"summary":"Validates a transaction","description":"Validates a transaction","operationId":"validatesATransaction","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"account_name":{"type":"string","example":"string"},"account_no":{"type":"string","example":"string"},"area_code":{"type":"string","example":"string"},"backend_charge":{"type":"string","example":"string"},"bank_code":{"type":"number","example":1010},"bank_name":{"type":"string","example":"string"},"bene_account_type_id":{"type":"string","example":"string"},"bene_attributes":{"type":"object","properties":{"additional_cell_number":{"type":"string","example":"string"},"bene_type":{"type":"number","example":9665},"city":{"type":"string","example":"string"},"date_of_birth":{"type":"string","example":"1970-12-30"},"email":{"type":"string","example":"string"},"first_name":{"type":"string","example":"string"},"gender":{"type":"number","example":6743},"id_expiry_date":{"type":"string","example":"1959-09-03"},"id_issue_at":{"type":"string","example":"string"},"id_issue_date":{"type":"string","example":"1962-07-11"},"id_no":{"type":"string","example":"string"},"last_name":{"type":"string","example":"string"},"middle_name":{"type":"string","example":"string"},"nationality_code":{"type":"string","example":"string"},"primary_address":{"type":"string","example":"string"},"primary_cell_number":{"type":"string","example":"string"},"secondary_address":{"type":"string","example":"string"},"surname":{"type":"string","example":"string"},"zip":{"type":"string","example":"string"}}},"bene_currency_code":{"type":"string","example":"string"},"branch_bank_assign_code":{"type":"string","example":"string"},"branch_city":{"type":"string","example":"string"},"branch_code":{"type":"number","example":1624},"branch_name":{"type":"string","example":"string"},"branch_primary_address":{"type":"string","example":"string"},"branch_secondary_address":{"type":"string","example":"string"},"customer_attributes":{"type":"object","properties":{"city":{"type":"string","example":"string"},"country_code":{"type":"string","example":"string"},"customer_type":{"type":"number","example":999},"date_of_birth":{"type":"string","example":"1947-11-19"},"email":{"type":"string","example":"string"},"first_name":{"type":"string","example":"string"},"gender":{"type":"number","example":6608},"id_expiry_date":{"type":"string","example":"1991-07-31"},"id_issue_at":{"type":"string","example":"string"},"id_issue_date":{"type":"string","example":"1971-07-01"},"id_no":{"type":"string","example":"string"},"last_name":{"type":"string","example":"string"},"middle_name":{"type":"string","example":"string"},"nationality_code":{"type":"string","example":"string"},"occupation":{"type":"string","example":"string"},"pob":{"type":"string","example":"string"},"primary_address":{"type":"string","example":"string"},"primary_cell_number":{"type":"string","example":"string"},"relation_to_bene":{"type":"string","example":"string"},"secondary_address":{"type":"string","example":"string"},"surname":{"type":"string","example":"string"},"zip":{"type":"string","example":"string"}}},"fclc_rate":{"type":"number","example":7035.199407814576},"id_type_code":{"type":"number","example":3715},"local_amount":{"type":"number","example":5080.298787997211},"payin_reference_no":{"type":"string","example":"string"},"paying_agent_code":{"type":"number","example":2928},"pickup_center_code":{"type":"number","example":3762},"product_code":{"type":"number","example":7957},"purpose_of_transfer_code":{"type":"number","example":7298},"remarks1":{"type":"string","example":"string"},"remarks2":{"type":"string","example":"string"},"source_of_income_code":{"type":"number","example":8832},"sub_agent_code":{"type":"number","example":2482},"transfer_amount":{"type":"number","example":7246.348388985544},"transfer_country_code":{"type":"string","example":"string"},"transfer_type":{"type":"number","example":6817},"usd_set_amount":{"type":"number","example":7555.293844969706},"usd_set_charge":{"type":"number","example":9394.422242181605},"usd_set_rate":{"type":"number","example":5068.818654954992}}},"examples":{"Validates a transaction":{"value":{"account_name":"string","account_no":"string","area_code":"string","backend_charge":"string","bank_code":1010,"bank_name":"string","bene_account_type_id":"string","bene_attributes":{"additional_cell_number":"string","bene_type":9665,"city":"string","date_of_birth":"1970-12-30","email":"string","first_name":"string","gender":6743,"id_expiry_date":"1959-09-03","id_issue_at":"string","id_issue_date":"1962-07-11","id_no":"string","last_name":"string","middle_name":"string","nationality_code":"string","primary_address":"string","primary_cell_number":"string","secondary_address":"string","surname":"string","zip":"string"},"bene_currency_code":"string","branch_bank_assign_code":"string","branch_city":"string","branch_code":1624,"branch_name":"string","branch_primary_address":"string","branch_secondary_address":"string","customer_attributes":{"city":"string","country_code":"string","customer_type":999,"date_of_birth":"1947-11-19","email":"string","first_name":"string","gender":6608,"id_expiry_date":"1991-07-31","id_issue_at":"string","id_issue_date":"1971-07-01","id_no":"string","last_name":"string","middle_name":"string","nationality_code":"string","occupation":"string","pob":"string","primary_address":"string","primary_cell_number":"string","relation_to_bene":"string","secondary_address":"string","surname":"string","zip":"string"},"fclc_rate":7035.199407814576,"id_type_code":3715,"local_amount":5080.298787997211,"payin_reference_no":"string","paying_agent_code":2928,"pickup_center_code":3762,"product_code":7957,"purpose_of_transfer_code":7298,"remarks1":"string","remarks2":"string","source_of_income_code":8832,"sub_agent_code":2482,"transfer_amount":7246.348388985544,"transfer_country_code":"string","transfer_type":6817,"usd_set_amount":7555.293844969706,"usd_set_charge":9394.422242181605,"usd_set_rate":5068.818654954992}}}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"examples":{"Success":{"value":""}}}}},"400":{"description":"Bad Request","content":{"text/plain":{"examples":{"Bad Request":{"value":""}}}}}}}},"/api/v1/send_transaction":{"post":{"tags":["api","v1","send_transaction"],"summary":"Send a transaction","description":"Send a transaction","operationId":"sendATransaction","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"account_name":{"type":"string","example":"string"},"account_no":{"type":"string","example":"string"},"area_code":{"type":"string","example":"string"},"backend_charge":{"type":"string","example":"string"},"bank_code":{"type":"number","example":8675},"bank_name":{"type":"string","example":"string"},"bene_account_type_id":{"type":"string","example":"string"},"bene_attributes":{"type":"object","properties":{"additional_cell_number":{"type":"string","example":"string"},"bene_type":{"type":"number","example":6833},"city":{"type":"string","example":"string"},"date_of_birth":{"type":"string","example":"1952-08-03"},"email":{"type":"string","example":"string"},"first_name":{"type":"string","example":"string"},"gender":{"type":"number","example":305},"id_expiry_date":{"type":"string","example":"1962-10-17"},"id_issue_at":{"type":"string","example":"string"},"id_issue_date":{"type":"string","example":"1970-12-26"},"id_no":{"type":"string","example":"string"},"last_name":{"type":"string","example":"string"},"middle_name":{"type":"string","example":"string"},"nationality_code":{"type":"string","example":"string"},"primary_address":{"type":"string","example":"string"},"primary_cell_number":{"type":"string","example":"string"},"secondary_address":{"type":"string","example":"string"},"surname":{"type":"string","example":"string"},"zip":{"type":"string","example":"string"}}},"bene_currency_code":{"type":"string","example":"string"},"branch_bank_assign_code":{"type":"string","example":"string"},"branch_city":{"type":"string","example":"string"},"branch_code":{"type":"string","example":"string"},"branch_name":{"type":"string","example":"string"},"branch_primary_address":{"type":"string","example":"string"},"branch_secondary_address":{"type":"string","example":"string"},"customer_attributes":{"type":"object","properties":{"city":{"type":"string","example":"string"},"country_code":{"type":"string","example":"string"},"customer_type":{"type":"number","example":8673},"date_of_birth":{"type":"string","example":"1997-09-04"},"email":{"type":"string","example":"string"},"first_name":{"type":"string","example":"string"},"id_expiry_date":{"type":"string","example":"1988-09-18"},"id_issue_at":{"type":"string","example":"string"},"id_issue_date":{"type":"string","example":"2023-01-29"},"id_no":{"type":"string","example":"string"},"last_name":{"type":"string","example":"string"},"middle_name":{"type":"string","example":"string"},"nationality_code":{"type":"string","example":"string"},"occupation":{"type":"string","example":"string"},"pob":{"type":"string","example":"string"},"primary_address":{"type":"string","example":"string"},"primary_cell_number":{"type":"string","example":"string"},"relation_to_bene":{"type":"string","example":"string"},"secondary_address":{"type":"string","example":"string"},"surname":{"type":"string","example":"string"},"zip":{"type":"string","example":"string"}}},"fclc_rate":{"type":"number","example":7584.566823099126},"id_type_code":{"type":"number","example":3131},"local_amount":{"type":"number","example":442.265357583691},"payin_reference_no":{"type":"string","example":"string"},"paying_agent_code":{"type":"number","example":7693},"pickup_center_code":{"type":"number","example":7501},"product_code":{"type":"number","example":7809},"purpose_of_transfer_code":{"type":"number","example":1943},"remarks1":{"type":"string","example":"string"},"remarks2":{"type":"string","example":"string"},"source_of_income_code":{"type":"number","example":1685},"sub_agent_code":{"type":"number","example":8910},"transfer_amount":{"type":"number","example":4260.5351056182235},"transfer_country_code":{"type":"string","example":"string"},"transfer_type":{"type":"number","example":1874},"usd_set_amount":{"type":"number","example":4287.771525949482},"usd_set_charge":{"type":"number","example":5767.127963265963},"usd_set_rate":{"type":"number","example":4665.131113675609}}},"examples":{"Send a transaction":{"value":{"account_name":"string","account_no":"string","area_code":"string","backend_charge":"string","bank_code":8675,"bank_name":"string","bene_account_type_id":"string","bene_attributes":{"additional_cell_number":"string","bene_type":6833,"city":"string","date_of_birth":"1952-08-03","email":"string","first_name":"string","gender":305,"id_expiry_date":"1962-10-17","id_issue_at":"string","id_issue_date":"1970-12-26","id_no":"string","last_name":"string","middle_name":"string","nationality_code":"string","primary_address":"string","primary_cell_number":"string","secondary_address":"string","surname":"string","zip":"string"},"bene_currency_code":"string","branch_bank_assign_code":"string","branch_city":"string","branch_code":"string","branch_name":"string","branch_primary_address":"string","branch_secondary_address":"string","customer_attributes":{"city":"string","country_code":"string","customer_type":8673,"date_of_birth":"1997-09-04","email":"string","first_name":"string","id_expiry_date":"1988-09-18","id_issue_at":"string","id_issue_date":"2023-01-29","id_no":"string","last_name":"string","middle_name":"string","nationality_code":"string","occupation":"string","pob":"string","primary_address":"string","primary_cell_number":"string","relation_to_bene":"string","secondary_address":"string","surname":"string","zip":"string"},"fclc_rate":7584.566823099126,"id_type_code":3131,"local_amount":442.265357583691,"payin_reference_no":"string","paying_agent_code":7693,"pickup_center_code":7501,"product_code":7809,"purpose_of_transfer_code":1943,"remarks1":"string","remarks2":"string","source_of_income_code":1685,"sub_agent_code":8910,"transfer_amount":4260.5351056182235,"transfer_country_code":"string","transfer_type":1874,"usd_set_amount":4287.771525949482,"usd_set_charge":5767.127963265963,"usd_set_rate":4665.131113675609}}}}}},"responses":{"200":{"description":"Success","content":{"text/plain":{"examples":{"Success":{"value":""}}}}},"400":{"description":"Bad Request","content":{"text/plain":{"examples":{"Bad Request":{"value":""}}}}}}}},"/api/v1/get_rate":{"post":{"tags":["api","v1","get_rate"],"summary":"get the rate of product","description":"get the rate of product","operationId":"getTheRateOfProduct","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"paying_agent_code":{"type":"number","example":4},"product_code":{"type":"number","example":1}}},"examples":{"get the rate of product":{"value":{"paying_agent_code":4,"product_code":1}}}}}},"responses":{"200":{"description":"Success / get the rate of product","headers":{"Cache-Control":{"schema":{"type":"string","example":"max-age=0, private, must-revalidate"}},"Connection":{"schema":{"type":"string","example":"keep-alive"}},"Content-Encoding":{"schema":{"type":"string","example":"gzip"}},"Date":{"schema":{"type":"string","example":"Mon, 13 Apr 2026 08:21:05 GMT"}},"ETag":{"schema":{"type":"string","example":"W/\"0cde92448a4190f213b226214f1c17c7\""}},"Referrer-Policy":{"schema":{"type":"string","example":"strict-origin-when-cross-origin"}},"Server":{"schema":{"type":"string","example":"nginx/1.22.1"}},"Transfer-Encoding":{"schema":{"type":"string","example":"chunked"}},"X-Content-Type-Options":{"schema":{"type":"string","example":"nosniff"}},"X-Download-Options":{"schema":{"type":"string","example":"noopen"}},"X-Frame-Options":{"schema":{"type":"string","example":"SAMEORIGIN"}},"X-Permitted-Cross-Domain-Policies":{"schema":{"type":"string","example":"none"}},"X-Request-Id":{"schema":{"type":"string","example":"dfbb1659-1609-4394-a230-149974e47b70"}},"X-Runtime":{"schema":{"type":"string","example":"1.030170"}},"X-XSS-Protection":{"schema":{"type":"string","example":"1; mode=block"}},"vary":{"schema":{"type":"string","example":"Origin"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"example":"1","anyOf":[{"type":"string","example":"1"},{"type":"number","example":1}]},"status_code":{"example":"1","anyOf":[{"type":"string","example":"1"},{"type":"number","example":1}]},"time_stamp":{"type":"string","example":"1948-11-11T09:02:57.831Z"}}},"data":{"type":"object","properties":{"agent_cost_rate":{"type":"string","example":"string"},"max_amount":{"type":"string","example":"string"},"min_amount":{"type":"string","example":"string"}}}}},"examples":{"Success":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"1948-11-11T09:02:57.831Z"},"data":{"agent_cost_rate":"string","max_amount":"string","min_amount":"string"}}},"get the rate of product":{"value":{"api_response":{"message":"success","status":1,"status_code":1,"time_stamp":"2026-04-13T08:21:05.206Z"},"data":{"agent_cost_rate":"320.0000","max_amount":"320.0000","min_amount":"288.0000"}}}}}}},"400":{"description":"Bad Request","content":{"text/plain":{"examples":{"Bad Request":{"value":""}}}}}}}},"/api/v1/receiving_transaction/{ptcn_no}":{"get":{"tags":["api","v1","receiving_transaction","{ptcn_no}1234"],"summary":"Get Receiving Transaction Details","description":"Get Receiving Transaction Details","operationId":"getReceivingTransactionDetails","responses":{"200":{"description":"Transaction Found","content":{"application/octet-stream":{"examples":{"Transaction Found":{"value":"null"}}}}},"404":{"description":"Transaction not found","content":{"text/plain":{"examples":{"Transaction not found":{"value":""}}}}}}},"parameters":[{"name":"ptcn_no","in":"path","required":true,"schema":{"type":"string","example":"string"}}]},"/api/v1/relations":{"get":{"tags":["api","v1","relations"],"summary":"Get Relation Details","description":"Get Relation Details","operationId":"getRelationDetails","responses":{"200":{"description":"Relations Found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"2025-04-30T12:57:32.299Z"}}},"relations":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"string"},"value":{"type":"string","example":"string"}}},"example":[{"name":"string","value":"string"},{"name":"string","value":"string"}]}}},"examples":{"Relations Found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"2025-04-30T12:57:32.299Z"},"relations":[{"name":"string","value":"string"},{"name":"string","value":"string"}]}}}}}},"404":{"description":"Relation not found","content":{"text/plain":{"examples":{"Relation not found":{"value":""}}}}}}}},"/api/v1/areas":{"get":{"tags":["api","v1","areas"],"summary":"Get Areas Details","description":"Get Areas Details","operationId":"getAreasDetails","responses":{"200":{"description":"Areas Found","content":{"application/json":{"schema":{"type":"object","properties":{"api_response":{"type":"object","properties":{"message":{"type":"string","example":"Success"},"status":{"type":"string","example":"1"},"status_code":{"type":"string","example":"1"},"time_stamp":{"type":"string","example":"1955-10-24T07:33:24.292Z"}}},"areas":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","example":"string"},"name":{"type":"string","example":"string"},"province":{"type":"string","example":"string"}}},"example":[{"code":"string","name":"string","province":"string"},{"code":"string","name":"string","province":"string"}]}}},"examples":{"Areas Found":{"value":{"api_response":{"message":"Success","status":"1","status_code":"1","time_stamp":"1955-10-24T07:33:24.292Z"},"areas":[{"code":"string","name":"string","province":"string"},{"code":"string","name":"string","province":"string"}]}}}}}},"404":{"description":"Areas not found","content":{"text/plain":{"examples":{"Areas not found":{"value":""}}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}},"security":[{"bearerAuth":[]}],"tags":[{"name":"api"},{"name":"v1"},{"name":"agent_destination_countries"},{"name":"agent_products"},{"name":"preferred_product"},{"name":"payout_sub_agents"},{"name":"{paying_agent_code}"},{"name":"auth"},{"name":"sign_in"},{"name":"country_banks"},{"name":"branches"},{"name":"bank"},{"name":"{bank_code}"},{"name":"branch"},{"name":"{swift_ifsc}"},{"name":"currencies"},{"name":"destination_currencies"},{"name":"{destination_country_code}"},{"name":"customer_services"},{"name":"requests"},{"name":"cancellation_requests"},{"name":"cancel_request_status"},{"name":"{request_no}"},{"name":"nationalities"},{"name":"id_types"},{"name":"{product_code}"},{"name":"product_banks"},{"name":"{product_code}1"},{"name":"payout_agents"},{"name":"{product_id}"},{"name":"payment_modes"},{"name":"{pdt_code}"},{"name":"bene_account_types"},{"name":"{pdt_code}1"},{"name":"pickup_centers"},{"name":"{pdt_code}12"},{"name":"products"},{"name":"payers"},{"name":"{product_code}12"},{"name":"get_payout_cities"},{"name":"{product_code}123"},{"name":"purpose_of_transfers"},{"name":"{product_code}1234"},{"name":"source_of_incomes"},{"name":"{product_code}12345"},{"name":"transaction_status"},{"name":"{ptcn_no}"},{"name":"corr_transaction"},{"name":"{ptcn_no}1"},{"name":"approve_transaction"},{"name":"{ptcn_no}12"},{"name":"approve_multiple_transactions"},{"name":"multiple_transactions_status"},{"name":"pay_transaction"},{"name":"{ptcn_no}123"},{"name":"transactions"},{"name":"date_between"},{"name":"products1"},{"name":"get_required_fields"},{"name":"{product_id}1"},{"name":"get_charge"},{"name":"validate_transaction"},{"name":"send_transaction"},{"name":"get_rate"},{"name":"receiving_transaction"},{"name":"{ptcn_no}1234"},{"name":"relations"},{"name":"areas"}]}