API Vamospago
🇺🇸 English
  • 🇺🇸 English
  • 🇨🇳中文
Home
Official Website
Sign in
Sign in
  • Latin Dashboard
  • Asia Dashboard
Home
Official Website
Sign in
Sign in
  • Latin Dashboard
  • Asia Dashboard
🇺🇸 English
  • 🇺🇸 English
  • 🇨🇳中文
🇺🇸 English
  • 🇺🇸 English
  • 🇨🇳中文
  1. Costa Rica
  • Development Guide
    • Development Integration Guidelines
    • API Request Structure Definition
    • APIs Signature
    • Postman And SDK
    • APIs Webhook
    • Order Status
    • APIs Error Code List
    • PCI Compliance
    • Payment Process Explanation
  • Transaction APIs
    • North America
      • USA
        • Payment
        • Payout
      • Mexico
        • Payment
        • Payout
      • Costa Rica
        • PAYMENT
          POST
      • Republica Dominicana
        • PAYMENT
      • Honduras
        • PAYMENT
      • Panamá
        • PAYMENT
    • South America
      • Brazil
        • Payment
        • Payout
      • Colombia
        • Payment
        • Payout
      • Ecuador
        • Payment
        • Payout
      • Argentina
        • Payment
        • Payout
      • Peru
        • Payment
        • Payout
      • Chile
        • Payment
        • Payout
      • Venezuela
        • Payment
        • Payout
      • Bolivia
        • PAYMENT
        • PAYOUT-BANKTRANSFER
    • Asia
      • Indonesia
        • Payment
        • Payout
      • Philippines
        • Payment
        • Payout
      • Thailand
        • Payment
        • Payout
      • Malaysia
        • 收款
        • 出款
      • Bengal
        • Payment
        • Payout
      • India
        • Payment
        • Payout
      • Pakistan
        • Payment
        • Payout
      • Vietnam
        • PAYMENT
        • PAYOUT-BANKTRANSFER
    • Europe
      • Russia
        • Payment
        • Payout
    • Middle East
      • United Arab Emirates
        • Payment
        • Payout
      • Turkey
        • Payment
        • Payout
    • Africa
      • Kenya
        • Payment
        • Payout
      • Nigeria
        • Payment
        • Payout
      • South Africa
        • Payment
        • Payout
      • Tanzania
        • Payment
        • Payout
      • Ghana
        • PAYMENT
        • PAYOUT-NET_BANK
      • Côte d'Ivoire
        • PAYMENT
        • PAYOUT
    • Global Payments
      • Payment
      • Payout
  • Common APIs
    • Payout Voucher Query
      POST
    • Account Balance Query
      POST
    • Order Status Query
      POST
  • Payment of Video Case
    • Video Case
    • Payment method Logo
  • Dashboard Guide
    • Bind Google Authenticator 2FA
  • Schemas
    • Payment Common Request Body
    • Payment Common Response Body
    • Payout Common Request Body
    • Payout Common Response Body
  1. Costa Rica

PAYMENT

POST
https://{{base_url}}/gateway/base/biz
API Header parameters, API Request parameters, API Response parameters (refer to Transaction-API [PAYMENT-API] public template parameters),follow is extra parameters
Field NameTypeRequiredE.g.
paymentTypepayment type;
CASH
StringRequiredCASH

Request

Header Params

Body Params application/json

Example
{
    "amount": "20",
    "callbackUrl": "http://localhost:8082/india-merchant/core/callback",
    "currency": "CRC",
    "email": "angjsadasfa123@gmail.com",
    "firstname": "AN jdasda",
    "lastname": "safa",
    "mchOrderId": "2371831j2h2111211",
    "phone": "+525535571415",
    "productinfo": "your pro simple desc",
    "paymentType": "CASH"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --globoff 'https://{{base_url}}/gateway/base/biz' \
--header 'method: pay' \
--header 'signType: SHA512' \
--header 'serviceName: api.pay' \
--header 'mchId: 1416010331032883200' \
--header 'timestamp: 1631671670' \
--header 'sign: 32554324534545432543' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": "20",
    "callbackUrl": "http://localhost:8082/india-merchant/core/callback",
    "currency": "CRC",
    "email": "angjsadasfa123@gmail.com",
    "firstname": "AN jdasda",
    "lastname": "safa",
    "mchOrderId": "2371831j2h2111211",
    "phone": "+525535571415",
    "productinfo": "your pro simple desc",
    "paymentType": "CASH"
}'

Responses

⚪0
application/json
Bodyapplication/json

Example
{
    "resultCode": "000000",
    "errorCode": "000000",
    "errorMsg": null,
    "data": [
        {
            "orderId": "202608272093057760567037952",
            "currency": "CRC",
            "checkoutUrl": "https://checkout.tdaypay.com/gateway/base/pay/adedebfa1287f741369540e2798dbbcc4a3d16f180dc60ebb33839978f8d165f9adfae5f4dc0b26da8087af8c3d41b00108f59b07fb53c754d8c2d9a15096972"
        }
    ],
    "success": true
}
Modified at 2026-09-16 09:21:02
Previous
Payout
Next
PAYMENT
Built with