curl --request POST \
--url https://{tenant}.fincode.software/api/v6/services/transactionmanagement/create-transaction/ \
--header 'Content-Type: application/json' \
--header 'X-Auth-Token: <x-auth-token>' \
--header 'X-Idempotency-Key: <x-idempotency-key>' \
--header 'ipAddress: <ipaddress>' \
--header 'password: <password>' \
--header 'platform: <platform>' \
--header 'uuid: <uuid>' \
--data '
{
"amount": "24.240",
"sendAmount": "7.000",
"inclussive": true,
"receivingCurrency": "NGN",
"sendCurrency": "GBP",
"type": "ACCOUNTPAYMENT",
"creditParty": [
{
"key": "bankname",
"value": "Anelik Bank CJSC"
},
{
"key": "bankaccountno",
"value": "87787786778"
},
{
"key": "swiftbic",
"value": "2345"
},
{
"key": "bankcode",
"value": ""
},
{
"key": "branchcode",
"value": null
}
],
"internationalTransferInformation": {
"originCountry": "GBR",
"receivingCountry": "NGA",
"sourceOfFunds": "SAVINGS",
"remittancePurpose": "GIFT",
"relationshipSender": "<string>",
"deliveryMethod": "directtoaccount"
},
"newSenderKyc": {
"nationality": "Nigeria",
"dateOfBirth": "2000-05-14",
"occupation": "Software Engineer",
"employerName": "TechWave Ltd",
"contactPhone": "+2348071234667",
"gender": "MALE",
"CustomerType": "INDIVIDUAL",
"emailAddress": "john.okafor@example.com",
"birthCountry": "GBR",
"idDocument": [
{
"idType": "PASSPORT",
"idNumber": "A12345678",
"issueDate": "10-02-2018T00:00:00.000",
"expiryDate": "09-02-2028T00:00:00.000",
"dateOfBirth": "14-05-1990T00:00:00.000",
"issuer": "Nigeria Immigration Service",
"issuerPlace": "Lagos",
"issuerCountry": "NGA",
"otherIdDescription": "<string>",
"fileName": "Passport",
"base64FileData": "<string>"
}
],
"postalAddressObject": {
"addressLine1": "12 Adeola Odeku Street",
"addressLine2": "Block A",
"addressLine3": "Victoria Island",
"city": "Lagos",
"stateProvince": "Lagos State",
"postalCode": "101241",
"iso3country": "NGA"
},
"subjectNameObject": {
"title": "Mr",
"firstName": "John",
"middleName": "Chinedu",
"lastName": "Okafor",
"fullName": "John Chinedu Okafor",
"nativeName": "John C. Okafor"
}
},
"newRecipientKyc": {
"nationality": "Ghana",
"dateOfBirth": "2000-09-21",
"occupation": "Accountant",
"employerName": "Golden Finance Ltd",
"contactPhone": "+233245678901",
"gender": "FEMALE",
"CustomerType": "INDIVIDUAL",
"emailAddress": "ama.mensah@example.com",
"birthCountry": "NGA",
"companyReg": "RC-458921",
"idDocument": [
{
"idType": "NATIONAL_ID_CARD",
"idNumber": "GF123456789",
"issueDate": "15-01-2019T00:00:00.000",
"expiryDate": "14-01-2029T00:00:00.000",
"dateOfBirth": "21-09-1985T00:00:00.000",
"issuer": "Registrar General",
"issuerPlace": "Accra",
"issuerCountry": "GHA",
"otherIdDescription": "<string>",
"fileName": "National Id Card",
"base64FileData": "<string>"
}
],
"postalAddressObject": {
"addressLine1": "14 Independence Avenue",
"addressLine2": "Suite 10",
"addressLine3": "Accra Central",
"city": "Accra",
"stateProvince": "Greater Accra",
"postalCode": "GA-002-1234",
"iso3country": "GHA"
},
"subjectName": {
"title": "Ms",
"firstName": "Ama",
"middleName": "Serwaa",
"lastName": "Mensah",
"fullName": "Ama Serwaa Mensah",
"nativeName": "Ama S. Mensah"
}
},
"transactionProcessingMode": "NONE_AGGREGATION",
"descriptionText": "<string>",
"transactionModule": "REMITTANCE",
"securityQuestion": "<string>",
"securityAnswer": "<string>",
"eligibleDocumentList": [
{}
]
}
'