This service contains information about transfers, invoices and invoice notifications. It is used to hold the following data:
- Invoices when they are created by merchants
- Invoice notifications when they are sent from merchant's DFSP to the client's DFSP
- Invoice types
- Invoice statuses
- Invoice payments
Invoice types can be one of the following:
- Standard - Standard invoices
- Pending - Not assigned one-time invoice
- Product - Not assigned multy-payer invoice
- CashOut - Cash out invoices
Invoice statuses are:
- executed - Invoice has been executed by customer
- approved - Invoice has been approved by customer
- pending - Invoice is pending
- rejected - Invoice has been rejected by customer
- cancelled - Invoice has been cancelled by merchant
Transfer service exposes the following private API calls in two spaces - [bulk] and [transfer]:
-
URL
/rpc/bulk/batch/add -
Method
POST -
Data Params
Required
name [string] - Batch nameactorId [string] - Actor idfileName [string] - File nameoriginalFileName [string] - Original file name
-
Success Response
- Code: 200
ContentbatchId [number] - Batch idname [string] - Batch namebatchStatusId [number] - Batch status idactorId [string] - Actor id
- Code: 200
-
URL
/rpc/bulk/batch/edit -
Method
POST -
Data Params
Required
actorId [string] - Actor idbatchId [number] - Batch Id
Optional
account [string] - AccountstartDate [date] - Batch start dateexpirationDate [date] - Batch expiration datename [string] - Batch namebatchStatusId [number] - Batch status idbatchInfo [string] - Batch infouploadInfo [string] - Upload infofileName [string] - Batch file nameoriginalFileName [string] - Batch original file namevalidatedAt [date] - Batch validation date
-
Success Response
- Code: 200
ContentbatchId [number] - Batch Idaccount [string] - AccountstartDate [date] - Batch start dateexpirationDate [date] - Batch expiration datename [string] - Batch namebatchStatusId [number] - Batch status idbatchInfo [string] - Batch infouploadInfo [string] - Upload infoactorId [string] - Actor idfileName [string] - Batch file nameoriginalFileName [string] - Batch original file namevalidatedAt [date] - Batch validation date
- Code: 200
-
URL
/rpc/bulk/batch/fetch -
Method
POST -
Data Params
Optional
actorId [string] - Actor idname [string] - Batch namebatchStatusId [number] - Batch status idfromDate [date] - From datetoDate [date] - To date
** Note: **'fromDate' and 'toDate' are related to the creation date of the batch. They are not related to the 'startDate' and 'expirationDate' of the batch.
-
Success Response
- Code: 200
ContentbatchId [number] - Batch Idaccount [string] - AccountstartDate [date] - Batch start dateexpirationDate [date] - Batch expiration datename [string] - Batch namebatchStatusId [number] - Batch status idbatchInfo [string] - Batch infouploadInfo [string] - Upload infoactorId [string] - Actor idfileName [string] - Batch file nameoriginalFileName [string] - Batch original file namevalidatedAt [date] - Batch validation date
- Code: 200
-
URL
/rpc/bulk/batch/get -
Method
POST -
Data Params
Required
batchId [number] - Batch id
-
Success Response
- Code: 200
ContentbatchId [number] - Batch Idname [string] - Batch nameaccount [string] - AccountstartDate [date] - Batch start dateexpirationDate [date] - Batch expiration datebatchStatusId [number] - Batch status idactorId [string] - Actor idinfo [string] - Batch infofileName [string] - Batch file nameoriginalFileName [string] - Batch original file namecreatedAt [date] - Batch create datestatus [string] - Batch statusupdateAd [date] - Batch update datepaymentsCount [number] - Batch payments count
- Code: 200
-
URL
/rpc/bulk/batch/process -
Method
POST -
Data Params
Required
batchId [number] - Batch idactorId [string] - Actor idstartDate [date] - Batch start dateexpirationDate [date] - Batch expiration dateaccount [string] - Account
-
Success Response
- Code: 200
Contentqueued [number] - Count of the payments added in the queue
- Code: 200
-
URL
/rpc/bulk/batch/ready -
Method
POST -
Data Params
Required
batchId [number] - Batch idactorId [string] - Actor id
-
Success Response
- Code: 200
ContentbatchId [number] - Batch Idaccount [string] - AccountstartDate [date] - Batch start dateexpirationDate [date] - Batch expiration datename [string] - Batch namebatchStatusId [number] - Batch status idbatchInfo [string] - Batch infouploadInfo [string] - Upload infoactorId [string] - Actor idfileName [string] - Batch file nameoriginalFileName [string] - Batch original file namevalidatedAt [date] - Batch validation date
- Code: 200
-
URL
/rpc/bulk/batch/revertStatus -
Method
POST -
Data Params
Required
batchId [number] - Batch idactorId [string] - Actor idpartial [boolean] - Is it one payment checked or whole batch
-
Success Response
- Code: 200
ContentbatchId [number] - Batch Idaccount [string] - AccountstartDate [date] - Batch start dateexpirationDate [date] - Batch expiration datename [string] - Batch namebatchStatusId [number] - Batch status idbatchInfo [string] - Batch infouploadInfo [string] - Upload infoactorId [string] - Actor idfileName [string] - Batch file nameoriginalFileName [string] - Batch original file namevalidatedAt [date] - Batch validation date
- Code: 200
-
URL
/rpc/bulk/batchStatus/fetch -
Method
POST -
Data Params
Required NONE
-
Success Response
- Code: 200
Contentkey [number] - Status keyname [string] - Status namedescription [string] - Status description
- Code: 200
-
URL
/rpc/bulk/payment/add -
Method
POST -
Data Params
Required
actorId [string] - Actor idpayments [json] - json containing list with paymentsbatchId [number] - Batch id
payments should have the following fields included:
sequenceNumber [number] - Sequence numberidentifier [string] - User's identifierfirstName [string] - User's first namelastName [string] - User's last namedob [date] - Date of birthnationalId [string] - National Idamount [number] - Amount
-
Success Response
- Code: 200
ContentinsertedRows [number] - Count of inserted payments
- Code: 200
-
URL
/rpc/bulk/payment/add -
Method
POST -
Data Params
Required
actorId [string] - Actor idpayments [json] - json containing list with payments
payments should have the following fields included:
paymentId [number] - Payment idbatchId [number] - Batch idsequenceNumber [number] - Sequence numberidentifier [string] - User's identifierfirstName [string] - User's first namelastName [string] - User's last namedob [date] - Date of birthnationalId [string] - National Idamount [number] - Amountinfo [string] - Payment infopayee [json] - Payee info
-
Success Response
- Code: 200
Contentpayments [json] - json with the edited payments
- Code: 200
-
URL
/rpc/bulk/payment/fetch -
Method
POST -
Data Params
Optional
paymentId [number array] - Array with payment idsbatchId [number] - Batch idnationalId [string] - Batch idpaymentStatusId [number array] - Array with payment status idsfromDate [date] - From datetoDate [date] - To datesequenceNumber [number] - Sequence numbername [string] - Batch namepageSize [number] - Page sizepageNumber [number] - Page number
-
Success Response
- Code: 200
Contentdata [json] - Result set from the searchpagination [json] - json with the following fields included'pageNumber'- Requested page number'pageSize'- Returned payments from the result set for this page'pagesTotal'- Returned count of pages from the result set'recordsTotal'- Total count of payments matched from search
- Code: 200
-
URL
/rpc/bulk/payment/get -
Method
POST -
Data Params
Required
paymentId [number] - Array with payment ids
-
Success Response
- Code: 200
ContentpaymentId [number] - Payment idbatchId [number] - Batch idsequenceNumber [number] - Sequence numberidentifier [string] - User's identifierfirstName [string] - User's first namelastName [string] - User's last namedob [date] - User's date of birthnationalId [string] - User's national idamount [number] - Transfer amountpaymentStatusId [number] - Payment status idinfo [string] - Payment infopayee [json] - Payee dataname [string] - Batch namecreatedAt [date] - Payment's created at dateupdatedAt [date] - Payment's updated at dateaccount [string] - Batch accountstartDate [date] - Batch's start dateexpirationDate [date] - Batch's expiration dateactorId [string] - Actor id
- Code: 200
-
URL
/rpc/bulk/payment/getForProcessing -
Method
POST -
Data Params
Required
count [number] - Number of payments to be returned. Default is set to 100
-
Success Response
- Code: 200
ContentpaymentId [number] - Payment idbatchId [number] - Batch idsequenceNumber [number] - Sequence numberidentifier [string] - User's identifierfirstName [string] - User's first namelastName [string] - User's last namedob [date] - User's date of birthnationalId [string] - User's national idamount [number] - Transfer amountpaymentStatusId [number] - Payment status idinfo [string] - Payment infocreatedAt [date] - Payment's created at dateupdatedAt [date] - Payment's updated at date
- Code: 200
-
URL
/rpc/bulk/payment/preProcess -
Method
POST -
Data Params
Required
paymentId [number] - Payment id
-
Success Response
- Code: 200
ContentpaymentId [number] - Payment idbatchId [number] - Batch idsequenceNumber [number] - Sequence numberidentifier [string] - User's identifierfirstName [string] - User's first namelastName [string] - User's last namedob [date] - User's date of birthnationalId [string] - User's national idamount [number] - Transfer amountpaymentStatusId [number] - Payment status idinfo [string] - Payment infopayee [json] - Payee dataname [string] - Batch namecreatedAt [date] - Payment's created at dateupdatedAt [date] - Payment's updated at dateaccount [string] - Batch accountstartDate [date] - Batch's start dateexpirationDate [date] - Batch's expiration dateactorId [string] - Actor id
- Code: 200
-
URL
/rpc/bulk/payment/process -
Method
POST -
Data Params
Required
paymentId [number] - Payment idactorId [string] - Actor iderror [string] - Error message
-
Success Response
- Code: 200
ContentpaymentId [number] - Payment idbatchId [number] - Batch idsequenceNumber [number] - Sequence numberidentifier [string] - User's identifierfirstName [string] - User's first namelastName [string] - User's last namedob [date] - User's date of birthnationalId [string] - User's national idamount [number] - Transfer amountpaymentStatusId [number] - Payment status idinfo [string] - Payment infopayee [json] - Payee dataname [string] - Batch namecreatedAt [date] - Payment's created at dateupdatedAt [date] - Payment's updated at dateaccount [string] - Batch accountstartDate [date] - Batch's start dateexpirationDate [date] - Batch's expiration dateactorId [string] - Actor id
- Code: 200
-
URL
/rpc/bulk/paymentStatus/fetch -
Method
POST -
Data Params
Required
NONE
-
Success Response
- Code: 200
Contentkey [number] - Payment status keyname [string] - Payment status namedescription [string] - Payment status description
- Code: 200
-
URL
/rpc/transfer/invoiceNotification/add -
Method
POST -
Data Params
Required
invoiceUrl [string] - Invoice URLidentifier [string] - Identifiermemo [string] - Invoice memo
-
Success Response
- Code: 200
ContentinvoiceNotificationId [number] - Invoice notification idinvoiceUrl [string] - Invoice URLidentifier [string] - Identifierstatus [string] - Invoice statusmemo [string] - Invoice memo
- Code: 200
-
URL
/rpc/transfer/invoiceNotification/cancel -
Method
POST -
Data Params
Required
invoiceUrl [string] - Invoice URL
-
Success Response
- Code: 200
ContentinvoiceNotificationId [number] - Invoice notification idinvoiceUrl [string] - Invoice URLidentifier [string] - Identifierstatus [string] - Invoice statusmemo [string] - Invoice memo
- Code: 200
-
URL
/rpc/transfer/invoiceNotification/edit -
Method
POST -
Data Params
Required
invoiceNotificationId [number] - Invoice notification idinvoiceNotificationStatusId [number] - Invoice notification status id
-
Success Response
- Code: 200
ContentinvoiceNotificationId [number] - Invoice notification idinvoiceUrl [string] - Invoice URLidentifier [string] - Identifierstatus [string] - Invoice statusmemo [string] - Invoice memo
- Code: 200
-
URL
/rpc/transfer/invoiceNotification/execute -
Method
POST -
Data Params
Required
invoiceNotificationId [number] - Invoice notification id
-
Success Response
- Code: 200
ContentinvoiceNotificationId [number] - Invoice notification idinvoiceUrl [string] - Invoice URLidentifier [string] - Identifierstatus [string] - Invoice statusmemo [string] - Invoice memo
- Code: 200
-
URL
/rpc/transfer/invoiceNotification/fetch -
Method
POST -
Data Params
Required
identifier [string] - Identifierstatus [string] - Invoice notification id
-
Success Response
- Code: 200
ContentinvoiceNotificationId [number] - Invoice notification idinvoiceUrl [string] - Invoice URLidentifier [string] - Identifierstatus [string] - Invoice statusmemo [string] - Invoice memo
- Code: 200
-
URL
/rpc/transfer/invoiceNotification/get -
Method
POST -
Data Params
Required
invoiceNotificationId [number] - Invoice notification id
-
Success Response
- Code: 200
ContentinvoiceNotificationId [number] - Invoice notification idinvoiceUrl [string] - Invoice URLidentifier [string] - Identifierstatus [string] - Invoice statusmemo [string] - Invoice memo
- Code: 200
-
URL
/rpc/transfer/invoiceNotification/reject -
Method
POST -
Data Params
Required
invoiceNotificationId [number] - Invoice notification id
-
Success Response
- Code: 200
ContentinvoiceNotificationId [number] - Invoice notification idinvoiceUrl [string] - Invoice URLidentifier [string] - Identifierstatus [string] - Invoice statusmemo [string] - Invoice memo
- Code: 200
-
URL
/rpc/transfer/invoice/add -
Method
POST -
Data Params
Required
account [string] - Accountname [string] - NamecurrencyCode [string] - Currency codeamount [number] - AmountmerchantIdentifier [string] - Merchant identifieridentifier [string] - Client identifierinvoiceType [string] - Invoice typeinvoiceInfo [string] - Invoice info
-
Success Response
- Code: 200
Contenttype [string] - Invoice typeinvoiceId [number] - Invoice idaccount [string] - Accountname [string] - NamecurrencyCode [string] - Currency codecurrencySymbol [string] - Currency symbolamount [number] - Amountstatus [string] - Invoice statusinvoiceType [string] - Invoice typemerchantIdentifier [string] - Merchant identifierinvoiceInfo [string] - Invoice info
- Code: 200
-
URL
/rpc/transfer/invoice/cancel -
Method
POST -
Data Params
Required
invoiceId [number] - Invoice id
-
Success Response
- Code: 200
Contenttype [string] - Invoice typeinvoiceId [number] - Invoice idaccount [string] - Accountname [string] - NamecurrencyCode [string] - Currency codecurrencySymbol [string] - Currency symbolamount [number] - Amountstatus [string] - Invoice statusinvoiceType [string] - Invoice typemerchantIdentifier [string] - Merchant identifierinvoiceInfo [string] - Invoice info
- Code: 200
-
URL
/rpc/transfer/invoice/edit -
Method
POST -
Data Params
Required
invoiceId [number] - Invoice idinvoiceStatusId [number] - Invoice status id
-
Success Response
- Code: 200
Contenttype [string] - Invoice typeinvoiceId [number] - Invoice idaccount [string] - Accountname [string] - NamecurrencyCode [string] - Currency codecurrencySymbol [string] - Currency symbolamount [number] - Amountstatus [string] - Invoice statusinvoiceType [string] - Invoice typemerchantIdentifier [string] - Merchant identifierinvoiceInfo [string] - Invoice info
- Code: 200
-
URL
/rpc/transfer/invoice/edit -
Method
POST -
Data Params
Required
invoiceId [number] - Invoice ididentifier [string] - Identifier
-
Success Response
- Code: 200
Contenttype [string] - Invoice typeinvoiceId [number] - Invoice idaccount [string] - Accountname [string] - NamecurrencyCode [string] - Currency codecurrencySymbol [string] - Currency symbolamount [number] - Amountstatus [string] - Invoice statusinvoiceType [string] - Invoice typemerchantIdentifier [string] - Merchant identifierinvoiceInfo [string] - Invoice info
- Code: 200
-
URL
/rpc/transfer/invoice/fetch -
Method
POST -
Data Params
Optional
merchantIdentifier [string] - Merchant identifieraccount [string] - Accountstatus [string array] - Array with invoice statusesinvoiceType [string array] - Array with invoice types
-
Success Response
- Code: 200
Contenttype [string] - Invoice typeinvoiceId [number] - Invoice idaccount [string] - Accountname [string] - NamecurrencyCode [string] - Currency codecurrencySymbol [string] - Currency symbolamount [number] - Amountstatus [string] - Invoice statusinvoiceType [string] - Invoice typemerchantIdentifier [string] - Merchant identifierinvoiceInfo [string] - Invoice info
- Code: 200
-
URL
/rpc/transfer/invoice/get -
Method
POST -
Data Params
Optional
invoiceId [number] - Invoice id
-
Success Response
- Code: 200
Contenttype [string] - Invoice typeinvoiceId [number] - Invoice idaccount [string] - Accountname [string] - NamecurrencyCode [string] - Currency codecurrencySymbol [string] - Currency symbolamount [number] - Amountstatus [string] - Invoice statusinvoiceType [string] - Invoice typemerchantIdentifier [string] - Merchant identifierinvoiceInfo [string] - Invoice info
- Code: 200
-
URL
/rpc/transfer/invoice/reject -
Method
POST -
Data Params
Optional
invoiceId [number] - Invoice id
-
Success Response
- Code: 200
Contenttype [string] - Invoice typeinvoiceId [number] - Invoice idaccount [string] - Accountname [string] - NamecurrencyCode [string] - Currency codecurrencySymbol [string] - Currency symbolamount [number] - Amountstatus [string] - Invoice statusinvoiceType [string] - Invoice typemerchantIdentifier [string] - Merchant identifierinvoiceInfo [string] - Invoice info
- Code: 200
-
URL
/rpc/transfer/invoicePayer/add -
Method
POST -
Data Params
Optional
invoiceId [number] - Invoice ididentifier [string] - Identifier
-
Success Response
- Code: 200
ContentinvoicePayerId [number] - Invoice payer idinvoiceId [number] - Invoice ididentifier [string] - IdentifiercreatedAt [date] - Created at date
- Code: 200
-
URL
/rpc/transfer/invoicePayer/fetch -
Method
POST -
Data Params
Optional
invoiceId [number] - Invoice idpaid [boolean] - Paid
-
Success Response
- Code: 200
ContentinvoicePayerId [number] - Invoice payer idinvoiceId [number] - Invoice ididentifier [string] - IdentifiercreatedAt [date] - Created at date
- Code: 200
-
URL
/rpc/transfer/invoicePayer/get -
Method
POST -
Data Params
Optional
invoicePayerId [number] - Invoice payer id
-
Success Response
- Code: 200
ContentinvoicePayerId [number] - Invoice payer idinvoiceId [number] - Invoice ididentifier [string] - IdentifiercreatedAt [date] - Created at date
- Code: 200
-
URL
/rpc/transfer/push/execute -
Method
POST -
Data Params
Optional
sourceAccount [string] - Source accountreceiver [string] - ReceiverdestinationAmount [number] - Destination amountcurrency [string] - Currency codefee [number] - Fee amountmemo [string] - Transaction memo
-
Success Response
- Code: 200
Contentid [string] - Payment idaddress [string] - AddressdestinationAmount [number] - Destination amountsourceAmount [number] - Source amountsourceAccount [string] - Source accountexpiresAt [date] - Expiration datecondition [string] - Conditionfulfillment [string] - Fulfillmentstatus [string] - Status
- Code: 200