new module:api/RecordedPaymentApi(apiClientopt)
This class subject to change without prior notice, Please dont use this class directly.
Constructs a new RecordedPaymentApi.Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
apiClient |
module:ApiClient |
<optional> |
Optional API client implementation to use, default to module:ApiClient#instance if unspecified. |
Methods
-
deleteRecordPayment(channel, client_key, product, timestamp, idempotent_request_key, requestor_type, id_payment, delete_recorded_payment_request, opts, callback)
-
Delete Recorded Payment The API is used to delete the recorded payment. It returns 204 http status code with empty body in successful case
Parameters:
Name Type Description channelString The channel through which the API is invoked.
client_keyString The unique identifier assigned by EBPP to the client.
productmodule:models/String The product identifier corresponding to the API.
timestampString The timestamp for the moment when the API request is created.
idempotent_request_keyString The unique token that clients can generate and maintain in order to identify an API request.
requestor_typemodule:models/String Type of the requestor of the API.
id_paymentString The unique identifier assigned by EBPP to the payment.
delete_recorded_payment_requestmodule:models/DeleteRecordedPaymentRequest Details of payment to be deleted/cancelled
optsObject Optional parameters
Properties
Name Type Description requestorString The identifier for the requestor of the API. If the requestor_type is <b>system</b>, requestor is optional.
x_opay_headersString Intended for the future use.
callbackmodule:api/RecordedPaymentApi~deleteRecordPaymentCallback The callback function, accepting three arguments: error, data, response
-
getRecordPayment(channel, client_key, product, timestamp, idempotent_request_key, requestor_type, id_payment, opts, callback)
-
Get Recorded Payment The API is used to retrieve the details of a payment by id.
Parameters:
Name Type Description channelString The channel through which the API is invoked.
client_keyString The unique identifier assigned by EBPP to the client.
productmodule:models/String The product identifier corresponding to the API.
timestampString The timestamp for the moment when the API request is created.
idempotent_request_keyString The unique token that clients can generate and maintain in order to identify an API request.
requestor_typemodule:models/String Type of the requestor of the API.
id_paymentString The unique identifier assigned by EBPP to the payment.
optsObject Optional parameters
Properties
Name Type Description requestorString The identifier for the requestor of the API. If the requestor_type is <b>system</b>, requestor is optional.
x_opay_headersString Intended for the future use.
callbackmodule:api/RecordedPaymentApi~getRecordPaymentCallback The callback function, accepting three arguments: error, data, response data is of type: module:models/GetRecordedPaymentResponse
-
recordPayment(channel, client_key, product, timestamp, idempotent_request_key, requestor_type, record_payment_request, opts, callback)
-
Record Payment The API is used to record payments in EBPP those are made and fulfilled outside EBPP.
Parameters:
Name Type Description channelString The channel through which the API is invoked.
client_keyString The unique identifier assigned by EBPP to the client.
productmodule:models/String The product identifier corresponding to the API.
timestampString The timestamp for the moment when the API request is created.
idempotent_request_keyString The unique token that clients can generate and maintain in order to identify an API request.
requestor_typemodule:models/String Type of the requestor of the API.
record_payment_requestmodule:models/RecordPaymentRequest JSON containing all the fields required to record a payment.
optsObject Optional parameters
Properties
Name Type Description requestorString The identifier for the requestor of the API. If the requestor_type is <b>system</b>, requestor is optional.
x_opay_headersString Intended for the future use.
callbackmodule:api/RecordedPaymentApi~recordPaymentCallback The callback function, accepting three arguments: error, data, response data is of type: module:models/RecordedPaymentResponse
-
retrieveRecordPayments(channel, client_key, product, timestamp, idempotent_request_key, requestor_type, id_customer, opts, callback)
-
Retrieve Recorded Payments The API is used to retrieve the payments made by a customer. Payments can be filtered using the confirmation number, customer account, status, by date range and others mentioned below. If no dates are provided for retrieval, payments in the last six months and all the payments scheduled for a future date are returned. In case a payment has failed due to ACH returns, then the payment return date and the return code will be available in the response.
Parameters:
Name Type Description channelString The channel through which the API is invoked.
client_keyString The unique identifier assigned by EBPP to the client.
productmodule:models/String The product identifier corresponding to the API.
timestampString The timestamp for the moment when the API request is created.
idempotent_request_keyString The unique token that clients can generate and maintain in order to identify an API request.
requestor_typemodule:models/String Type of the requestor of the API.
id_customerString The unique identifier assigned by EBPP to the customer.
optsObject Optional parameters
Properties
Name Type Description requestorString The identifier for the requestor of the API. If the requestor_type is <b>system</b>, requestor is optional.
x_opay_headersString Intended for the future use.
id_customer_accountString The unique identifier assigned by EBPP to the customer account
confirmation_numberString The confirmation number or reference provided to the customer for the successful payment.
payment_methodArray.<module:models/String> The non fulfillment method for the payment. This can take multiple values in the format key=value1&key=value2....
statusArray.<module:models/String> The status of the payment. This can take multiple values in the format key=value1&key=value2....
from_dateString The date from which payments, matching the criteria specified, need to be retrieved.
to_dateString The date upto which payments, matching the criteria specified, need to be retrieved.
page_sizeString The maximum number of objects returned in the query.
query_idString query id of the Retrieve/Search Payments lookup.
from_indexString To fetch the next set of objects that start after this object
to_indexString To fetch the previous set of objects that end at this object
callbackmodule:api/RecordedPaymentApi~retrieveRecordPaymentsCallback The callback function, accepting three arguments: error, data, response data is of type: module:models/RecordedPaymentsResponse
Type Definitions
-
deleteRecordPaymentCallback(error, data, response)
-
Callback function to receive the result of the deleteRecordPayment operation.
Parameters:
Name Type Description errorString Error message, if any.
dataThis operation does not return a value.
responseString The complete HTTP response.
-
getRecordPaymentCallback(error, data, response)
-
Callback function to receive the result of the getRecordPayment operation.
Parameters:
Name Type Description errorString Error message, if any.
datamodule:models/GetRecordedPaymentResponse The data returned by the service call.
responseString The complete HTTP response.
-
recordPaymentCallback(error, data, response)
-
Callback function to receive the result of the recordPayment operation.
Parameters:
Name Type Description errorString Error message, if any.
datamodule:models/RecordedPaymentResponse The data returned by the service call.
responseString The complete HTTP response.
-
retrieveRecordPaymentsCallback(error, data, response)
-
Callback function to receive the result of the retrieveRecordPayments operation.
Parameters:
Name Type Description errorString Error message, if any.
datamodule:models/RecordedPaymentsResponse The data returned by the service call.
responseString The complete HTTP response.