COD (Cash On Delivery)
Direct Payment COD (Cash On Delivery)
Direct Payment COD allows you to process Cash On Delivery payments. This method requires additional shipping and product details.
Try it in Postman
Create COD Transaction
URL: {{baseUrl}}/api/v2/payment/direct
Method: POST
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Buyer's name. |
amount | number | Yes | Total transaction amount. |
paymentMethod | string | Yes | Must be cod. |
paymentChannel | string | Yes | Payment channel code (e.g., rpx). |
deliveryArea | string | Yes | Delivery postal code. |
deliveryAddress | string | Yes | Full delivery address. |
shipping | string | Yes | Shipping provider name (e.g., RPX). |
shippingService | string | Yes | Shipping service type (e.g., REG). |
See Direct Payment documentation for full parameter list.
Logistics Endpoints
Helper endpoints to calculate shipping, find areas, request pickup, and track packages.
Get Area
Postman
Search for delivery areas (postal codes) by keyword.
URL: {{baseUrl}}/api/v2/payment/area
Method: POST
Calculate Shipping
Postman
Calculate shipping costs.
URL: {{baseUrl}}/api/v2/payment/shipping
Method: POST
Download Label
Postman
Download the shipping label for a COD transaction.
URL: {{baseUrl}}/api/v2/payment/label
Method: POST
Tracking
Postman
Track the shipping status of a COD transaction.
URL: {{baseUrl}}/api/v2/payment/tracking
Method: POST
Request Pickup
Postman
Request a pickup for the package.
URL: {{baseUrl}}/api/v2/payment/pickup
Method: POST