Try the ID Payment API with Postman
Postman is a tool for developing APIs: you send a request and check the response. It is widely used by developers around the world. You can also send ID Payment API messages from Postman without writing any code.
- Quick to start: Fork the collection, check the connection settings, and you can send your first message right away.
- Encryption is automatic: The collection’s script performs the AES encryption of Master messages for you.
- Check results on the spot: You can see the response on screen. Example responses for both success and error cases are also provided.
This is a handy way to see how the messages behave before you start building your integration.
Click the button below to copy the Postman collection into your own workspace (Fork). You can edit the copied collection freely, and the original collection is not affected. A Postman account is required.
The collection, its folders, and its requests are named in Japanese (for example, “Master電文” and “支払:18Auth”). Both the English and the Japanese names are shown below so that you can find them easily.
5.1. Steps after forking
Check the connection settings
Open the forked collection in Postman and check values such as baseUrl on the “Variables” tab.

In this example, baseUrl is set to a Postman Mock Server. In a real environment, use the URL issued by SP.LINKS.
5.2. How to read the requests
The requests in the collection are divided into two folders: “Master messages” and “Process messages”.
Master messages (encrypted)
These APIs start a new transaction. Most of the request is sent as EncryptValue, which is encrypted with AES.
All items other than MerchantId and OperateId are encrypted as follows and sent as EncryptValue.
In Postman, the Pre-request Script performs this encryption automatically. Read the items on the Body tab as follows.
To change what gets encrypted, edit the values of the items whose checkbox is OFF.
If you turn an OFF item back ON, the Pre-request Script returns an error (this prevents sending unencrypted values by mistake).
Process messages (not encrypted)
These APIs perform follow-up operations on an existing transaction. No encryption is needed. You identify the target transaction with the ProcessId and ProcessPass obtained from the response to a Master message.
For the items in each message, see Interface Details.
5.3. Usage scenarios
One-time billing (immediate capture)
The payment is completed immediately at the time of purchase.
- Start the payment with 18Auth. If
ResponseCdisOK, you getProcessIdandProcessPass. - Check the transaction status with 18Search.
- If needed, refund with 18Refund.
One-time billing (capture at shipment)
The sale is captured when the goods are shipped.
- Obtain the authorization with 18Auth.
- After shipment, capture the sale with 18Capture.
- If the goods are not shipped, cancel the authorization with 18Cancel.
- If a refund is needed after capture, use 18Refund.
Recurring billing
A flow for periodic payments such as monthly billing.
- Register the contract with 18RecStart.
- Execute each payment with 18RecAuth.
- Check the contract status with 18RecSearch.
- Cancel the contract with 18RecCancel.
5.4. FAQ
Where do I get ProcessId and ProcessPass?
They are included in the success response of the Master messages (18Auth, 18RecStart, and 18RecAuth). Set these values in the Body when you send a Process message.
Do I need to generate EncryptValue myself?
No. In the collection, the Pre-request Script generates it automatically. Just edit the items whose checkbox is OFF on the Body tab, and they are encrypted when you send.
What do the PayType values mean?
See “Code definitions” in Interface Details.


