Skip to content

Instantly share code, notes, and snippets.

@akshayjai1
Last active December 6, 2021 11:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akshayjai1/694883bd74e36071e464788b65ab3f2c to your computer and use it in GitHub Desktop.
Save akshayjai1/694883bd74e36071e464788b65ab3f2c to your computer and use it in GitHub Desktop.
curl --location --request POST 'http://masspayqa-private-api-ecs-alb-1859042516.eu-west-1.elb.amazonaws.com/api/v1/client/create' \
--header 'Content-Type: application/json' \
--header 'X-ACCESS-TOKEN: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MjgzMjYyMDIsInN1YiI6IjU5M2ZlYmY3N2M1MmJiMjM1N2IyZGY3MSIsImNsaWVudElkIjoiNTkzZmViN2M3YzUyYmIyMzU3YjJkZjZjIiwiaWF0IjoxNjI4MjM5ODAyfQ.NWvIM-iwcxjiDI0yAwATCUUf01fVilmR2WzXjlnJ8lo' \
--header 'X-CLIENT-ID: 593feb7c7c52bb2357b2df6c' \
--data-raw '{
"payoutOptions": {
"rejectOnDebitError": false,
"rejectOnAwaitingFunds": false
},
"cash_payout": {
"enabled": false
},
"wallet_payout": {
"enabled": false
},
"lockAndHoldFx": {
"enabled": false,
"lockDuration": 0,
"holdDuration": 0,
"payoutFundingTimeout": 0,
"expireHoldOnPayout": false
},
"types_of_buyers_payers": {
"is_business": false,
"is_consumer": false
},
"utcOffset": -720,
"is_manual_pg_approval_required": false,
"can_schedule_fx": false,
"is_active": true,
"is_auto_book_fx": false,
"is_homesend_client": false,
"is_receive_client": false,
"is_send_client": true,
"notification_emails": [],
"payout_currencies_routed_to_bank_partners": [],
"revertAutoBookFxOnPayoutReturn": false,
"supplier_payments_customer": false,
"remitter_given_name": true,
"expected_destination_countries": [],
"rfi_notification_emailIds": [],
"is_receive_multi_currency_support": true,
"receive_multi_currencies": [
"GBP"
],
"expected_destination_currencies": [],
"is_goods_business": false,
"is_service_business": false,
"exchange_for_liquidity_enabled": false,
"funds_in_fee_notification_email_active": false,
"client_label": "kovdsss",
"client_name": "kolss12",
"client_address": "907 D Link",
"client_city": "Dallas",
"client_pincode": "100",
"client_country": "GB",
"client_state": "Florida",
"client_legal_entity": "UK",
"client_base_currency": "GBP",
"client_invoice_currency": "GBP",
"auto_reversal_days": 1,
"default_bookfx_type": "PREFUNDING",
"reverse_auto_book_fx_type": "",
"client_callback_url": "",
"client_callback_url_key": "",
"client_callback_url_id": "",
"notification_emails_active": {
"api": false,
"user_interface": true,
"autobook": true
},
"auto_book_fx_tiers": [],
"merchant_category_code": "",
"bank_details": {
"bank_name": "HDFC",
"bank_country": "GB",
"account_number": "HDFC1234",
"routing_code_type": "SORT CODE",
"routing_value": "1234AB"
},
"identification_type": "Company Registration No",
"identification_number": "10943665",
"supplier_phone": "09876543210",
"institution_type": "NonFI",
"receive_vra_approach": "PER_CURRENCY",
"remit_purpose_code": "IR001",
"withdrawal_narrative": "Transfer to own account",
"remitter_source_of_income": "Cross border remittance",
"beneficiary_relationship": "SELF",
"remitter_account_type": "Company",
"bypass_compliance_screening": {
"trulioo": false,
"worldcheck": false,
"instaAml": false
},
"acquisition_type": "",
"default_fx_pricing": "",
"engagement_type": "",
"topup_currency": "",
"topup_pricing": 0
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment