Create payin request
This API initiates a new **PayIn** transaction through a specified Payment Service Provider (PSP). It supports various pay-in types such as **Direct Payin** or **Virtual Account**.
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `requestId` | string | Yes | A unique request ID specified by the client in the request. |
| `pspId` | string | No | Identifier of the Payment Service Provider (e.g., `nium`, `finmo`). If not provided, auto psp selection will choose the best suited psp based on routing rule |
| `amount` | number | Yes | Amount to be received via PayIn. |
| `currency` | string | Yes | Currency of the transaction (e.g., SGD). |
| `country` | string | Yes | Country code (ISO 3166-1 alpha-2) where the transaction originates (e.g., SG). |
| `paymentType` | string | Yes | Type of PayIn transaction. Supported values: `QR_PAYMENT,` `VIRTUAL_ACCOUNT`. |
| `manisPaymentMethodName` | string | Yes | Name of the Manis payment method (different with psp's payinMethodName), will be used to search for payinMethod |
| `paymentFlow` | string | Yes | Name of the Manis payment flow, will be used to search for payinMethod |
| `virtualAcountId` | string | Required when creating payin with type `VIRTUAL_ACCOUNT` on Finmo | Identifier of virtual account |
| customerId | string | Required when creating payin with type `VIRTUAL_ACCOUNT` on Nium | Unique identifier in Manis of the customer making the PayIn. |
Headers
x-secret
Request
This endpoint expects a string.
Response
OK
payCode
createdAt
createdBy
updatedAt
updatedBy
pspPayinId
transaction
pspPayinMethod
manisTransactionId

