Skip to main content

Original Credit Transaction

Original Credit Transaction (OCT) is the Funds Transfer API provides functionality to push funds to the recipient's Visa account.


Endpoint

Method: POST
URL: http://localhost:4041/rpc/VisaDirectService/OriginalCreditTransaction


Request

Payload Parameters
ParameterTypeMandatoryDescription
recipientPrimaryAccountNumberstringNo16-digit PAN or token for the account of the recipient of the push payment.
businessIdstringYesIdentifies the program's business application type for VisaNet transaction processing.
transactionCurrencyCodestringYes3-character alpha or numeric currency code for the sender's currency.
recipientNamestringNoName of the receiver.
amountfloatYesAmount to be sent.
merchantCategoryCodestringNoIf provided, overrides the value present in onboarding data.
purposeOfPaymentstringYesPayment purpose.
programIdstringNoID assigned while creating the program.
batchIdstringNoUsed for batch transactions to identify the batch.
senderAccountNumberstringYesAccount number of the sender.
endToEndIDstringYesID given to track the transaction from initiation to completion.
recipientCardExpiryDatestringNoCard expiry date of the receiver.
cardTokenstringYesToken containing the card number and card expiry date.
serviceProcessingTypeobjectNoSpecifies whether the transaction is deferred OCT or instant OCT.
serviceProcessingType.requestTypestringNoOCT type.
serviceProcessingType.deferredDateTimestringNoTime when the deferred OCT should occur.

Sample Request

{
"businessId": "BP",
"senderAccountNumber": "4060320000000127",
"amount": "343434",
"transactionCurrencyCode": "USD",
"purposeOfPayment": "billing",
"endToEndID": "343434",
"cardToken": "cfbedf58cb79ba81ee9aafecad212d5a",
"serviceProcessingType": {
"requestType": "00"
}
}

Sample Response

{
"referenceNumber": "2f580fbbf833449a878782a6d9a10668"
}