Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 32 additions & 4 deletions content/payments/billpay/pre-built-screens/custom-payment/apis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,17 @@ The following API needs to be integrated by you, and is sent in the case of a su
"paymentDateTime": "YYYY-MM-DD HH:MM:SS in UTC",
"amount": "100.00",
"paymentMode": "CASH|UPI|IMPS|NEFT|AEPS|ACCOUNT TRANSFER|INTERNET BANKING|WALLET|DEBIT CARD|CREDIT CARD|PREPAID CARD|Bharat QR|USSD",
"paymentStatus": "SUCCESS|FAILURE"
"paymentStatus": "SUCCESS|FAILURE",
"remitter": {
"name": "XX",
"pan": "xxxx",
"email": "XXXX",
"aadhaar": "XXX"
},
"accountInfo": "ICIC0000152|1234567890"
}`}
</CodeBlockWithCopy>

The `orderId` is always prefixed with `COUWL` to identify Setu payment requests.

**Response**

<CodeBlockWithCopy language="json">
Expand All @@ -48,6 +53,15 @@ The `orderId` is always prefixed with `COUWL` to identify Setu payment requests.
}`}
</CodeBlockWithCopy>

<Callout type="info">

The `orderId` is always prefixed with `COUWL` to identify Setu payment requests.

To learn more about the `remitter` and `accountInfo` properties, please refer to the [integration guide](/payments/billpay/pre-built-screens/remitter-details).

</Callout>


<hr class="primary" />

### APIs you need to support
Expand Down Expand Up @@ -89,11 +103,25 @@ Content-Type: application/json`}
"paymentDateTime": "YYYY-MM-DD HH:MM:SS in UTC",
"amount": "100.00",
"paymentMode": "CASH|UPI|IMPS|NEFT|AEPS|ACCOUNT TRANSFER|INTERNET BANKING|WALLET|DEBIT CARD|CREDIT CARD|PREPAID CARD|Bharat QR|USSD",
"paymentStatus": "SUCCESS|FAILURE"
"paymentStatus": "SUCCESS|FAILURE",
"remitter": {
"name": "XX",
"pan": "xxxx",
"email": "XXXX",
"aadhaar": "XXX"
},
"accountInfo": "ICIC0000152|1234567890"
}
}`}
</CodeBlockWithCopy>


<Callout type="info">

To learn more about the `remitter` and `accountInfo` properties, please refer to the [integration guide](/payments/billpay/pre-built-screens/remitter-details).

</Callout>

<hr class="tertiary" />

##### Refund
Expand Down