Skip to main content
Creates a new payment and returns a unique trackId. Use the returned trackId to redirect your customer to the Coinom payment page.

Endpoint

Headers


Request Body


Example Request


Successful Response


Redirect the Customer

After creating the payment, redirect the customer to:
Example

Validation Rules

merchant

  • Required
  • API Key issued by Coinom

amount

  • Required
  • Numeric
  • Must be greater than 0
Example

callbackUrl

  • Required
  • Valid URL
  • Maximum length: 512 characters
Example

returnUrl

  • Optional
  • Valid URL
  • Maximum length: 512 characters

description

  • Optional
  • Maximum length: 1000 characters

mobile

  • Optional
  • Maximum length: 50 characters

Possible Responses

Success


Invalid API Key


Invalid Amount


Invalid Callback URL


Invalid Return URL


Description Too Long


Mobile Too Long


Merchant Disabled


Next Step

Once the customer completes the payment, verify it using the Verify Payment endpoint before delivering the product or service.

Verify Payment

Verify completed payments →