TrustPay
en
  • en
  • zh
  1. v4
TrustPay
en
  • en
  • zh
  • Integration Guide
  • Risk Control – Merchant Integration
  • Enums
  • Payment Callback Specification
  • v3
    • Sync Card Direct Payin
      POST
    • Async Card Direct Payin
      POST
    • Cashier Payin
      POST
    • Payment Callback
      POST
    • Balance
      POST
    • Order Query
      POST
    • Exchange
      POST
  • v2
    • Payout(INR)
      POST
  • v4
    • Card Direct Payin
      POST
  1. v4

Card Direct Payin

Developing
POST
/v4/payin/create/card
Create a new incoming payment (collection) order.

Request

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.trustpay.money/v4/payin/create/card' \
--header 'Content-Type: application/json' \
--data-raw '{
    "merchantId": 8820250900009,
    "orderNo": "local-test-2",
    "orderAmount": 20,
    "currency": "USD",
    "notifyUrl": "https://rbaskets.trustpay.money/checkout",
    "cardNumber": "4111111111111117",
    "cardExpiry": "2028-09",
    "cardCVV": "123",
    "cardHolderFirstName": "Test",
    "cardHolderLastName": "User",
    "cardHolderEmail": "test@example.com",
    "billingAddressStreet": "123 Main St",
    "billingCity": "Los Angeles",
    "billingPostalCode": "90001",
    "billingCountry": "US",
    "sign": "xxxx"
}'
Response Response Example
{
    "code": 880001,
    "message": "success",
    "data": {
        "merchantId": 8820250900009,
        "orderNo": "local-test-3",
        "platformOrderNo": "nohCvjyiLii9MgHCdxR78lul",
        "currency": "USD",
        "amount": 20.01
    }
}
Modified at 2026-01-29 08:59:26
Previous
Payout(INR)
Built with