Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
7.7 kB
1
Indexable
Never
curl --location 'http://kuwego-cba.development.teamapt.com/api/v1/ledger-accounts' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJsYXN0TmFtZSI6ImNiYV9hZG1pbiIsInJlc2V0UGFzc3dvcmQiOmZhbHNlLCJ1c2VyX25hbWUiOiJrdXdlZ29fY2JhX2FkbWluIiwiYXV0aGVudGljYXRpb25Eb21haW4iOiJLVVdFR08iLCJyb2xlcyI6WyJLVVdFR09fQ0JBX0FETUlOSVNUUkFUT1IiLCJLVVdFR09fQ0JBX0NMSUVOVCJdLCJicmFuY2giOiJUZWFtQXB0IiwiYXV0aG9yaXRpZXMiOlsiS1VXRUdPX1BPU1RfSk9VUk5BTF9UUkFOU0FDVElPTiIsIktVV0VHT19WSUVXX1JFR1VMQVRPUllfQkxPQ0tTIiwiS1VXRUdPX1ZJRVdfQ0xJRU5UUyIsIktVV0VHT19BQ1RJVkFURV9DVVNUT01FUiIsIktVV0VHT19SRU1PVkVfUE9TVF9OT19ERUJJVFMiLCJLVVdFR09fVklFV19MRURHRVJfQUNDT1VOVF9TVEFURU1FTlQiLCJLVVdFR09fVklFV19DVVNUT01FUlMiLCJLVVdFR09fVVBEQVRFX1VTRVJfQUNDT1VOVF9BQ0NFU1MiLCJLVVdFR09fQUREX1VTRVJfU0NIRU1FX0FDQ0VTUyIsIktVV0VHT19VUERBVEVfVFJBTlNBQ1RJT05fVEFHIiwiS1VXRUdPX0RFQklUX05VQkFOX0FDQ09VTlRfTElFTiIsIktVV0VHT19WSUVXX1VTRVJTIiwiS1VXRUdPX1JFTU9WRV9OVUJBTl9SRUdVTEFUT1JZX0JMT0NLIiwiS1VXRUdPX1VQREFURV9ST0xFIiwiS1VXRUdPX1ZFUklGWV9DVVNUT01FUl9BRERSRVNTIiwiS1VXRUdPX0FERF9VU0VSIiwiS1VXRUdPX1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U5fQUNDT1VOVCIsIktVV0VHT19DTE9TRV9MRURHRVJfQUNDT1VOVCIsIktVV0VHT19SRU9QRU5fTEVER0VSX0FDQ09VTlQiLCJLVVdFR09fUkVPUEVOX05VQkFOX0FDQ09VTlQiXSwicGFuaWNNb2RlIjpmYWxzZSwiY2xpZW50X2lkIjoia3V3ZWdvLWNiYS1hbGVydC1zZXJ2aWNlIiwiZGV2aWNlU3RhdHVzIjoiREVGQVVMVCIsImZpcnN0TmFtZSI6Imt1d2VnbyIsImF1ZCI6WyJjb3Ntb3MtY29udHJvbC1zZXJ2aWNlIiwia3V3ZWdvLWNiYS1hbGVydC1zZXJ2aWNlIiwia3V3ZWdvLWNvcmUtYmFua2luZy1zZXJ2aWNlIl0sInNjb3BlIjpbInByb2ZpbGUiXSwibmFtZSI6Imt1d2VnbyBjYmFfYWRtaW4iLCJ1c2VyVHlwZSI6IkxvY2FsIFVzZXIiLCJleHAiOjE3MDYyNjU1MDcsImp0aSI6ImM5MjBhOTEzLWY1NmUtNDMyYS04OTRiLTUwNmU5YWFkZGYzZCIsInVzZXJuYW1lIjoia3V3ZWdvX2NiYV9hZG1pbiJ9.CIXOTwlFZj3GLIquLL0lrbMujN1LZ-Ll1Hnsa_xSXgMeUrNfPH3TFLbto_XYqoA01siCrRpX6FvUyigcr2FPTgwXRRdbBEjeg4Do-YOz5bbS1D8m3f0cgAdL6HwidePsAnDJcBf7bFv7woPZxRgzTKwRZI4OkvsYld4i385SrnQv96eeyGiRB8jzmwSk9QG3Sb761YbQD8RGzVOL7mvrWXNGf6eO-C3iqX5uv3HHeFWEXPHxILdZNbycuswh-EMW3eae7w8YdcgYd1MFbArQ37kPJRLDrAf89DDMmWy_aY01bM-C6edoQYE7ex3324_V_CKjVUSFEiJmS-eTa8Tfrg' \
--data '{
    
    "schemeCode": "BOOM",
    "accountCode": "BOOM|WALLET|11111222223_JOE",
    "accountNumber": "4534323495",
    "accountName": "TEST ACCOUNT 1",
    
    "currencyCode": "566",
    "allowCredit": true,
    "allowDebit": true,
    "allowOwnEntry": true,
    "status": "ACTIVE"
}'
Leave a Comment