Remittance
#Remittance
Initiate cross boarder payments from an account in ledger. FX Services are not part of Ledger. The assumption here is that application connects to remittance platform externally and calls ledger to record the transaction.
Method: POST
URL: {{URL}}/jsonrpcHeaders
| Name | Value |
|---|---|
| Content-Type | application/json |
Example
Request Parameters
| Parameter | Description |
|---|
Body
{
"method": "TransactionService.Payment",
"id": "1",
"params": {
"api": {
"signature": "{{signature}}",
"keyId": "6003",
"credential": "Basic Key"
},
"payload": {
"Type": "REMITTANCE",
"ReferenceId": "REF0500141000013",
"TimeStamp": "2020-04-22T07:44:55-05:00",
"Product": "LEDGER",
"Program": "100000000000005",
"UserType": "APPLICATION",
"InstructedAmount": {
"Amount": 400,
"Currency": "USD"
},
"ExchangeRateInformation": {
"Currency": "INR",
"ExchangeRate": "75.02",
"Amount": 5
},
"DebtorAccount": {
"AccountNumber": "200524894086671",
"InstitutionId": "122105155",
"IdentificationType": "WALLET",
"Party": {
"Name": "John Deo"
}
},
"CreditorAccount": {
"AccountNumber": "9865321478",
"IFSCCode": "HDFC0001866",
"Party": {
"Name": "John Deo",
"Address": {
"Line1": "1200 street",
"Line2": "2nd main road",
"TownName": "chennai",
"PostCode": "600042",
"State": "TN",
"Country": "IN"
}
}
}
}
}
}
Response: 200
Response Parameters
| Parameter | Description |
|---|
{
"id": "1",
"result": {
"status": "COMPLETED",
"timeStamp": "2020-04-22T07:44:55-0500",
"TransactionID": "81167",
"transactionNumber": "QA00000000010050",
"referenceID": "REF0500141000013",
"processID": "PL23050300010047",
"transactionAmount": 400
}
}