S2S Integration

You have to redirect to the link which is returned in respomse data. In addition, you need to store the value of field reference and orderid for using api Verify Transaction.

Charge Transaction

POST https://paymids.com/api/charge

Headers

Name
Type
Description

authorization*

String

Bearer YOUR_SECRET_KEY

content-type*

String

application/json

Request Body

Name
Type
Description

amount*

String

amount

currency*

String

currency - USD

reference*

String

your transaction reference

firstname*

String

first name

lastname*

String

last name

email*

String

email

phone*

String

phone

cardName*

String

card name

cardNumber*

String

card number

cardCVV*

String

card CVV

expMonth*

String

expiry month - two digits

expYear*

String

expiry year - two digits

country*

String

county code by alpha 2

city*

String

city

address*

String

address

ip_address*

String

ip address

zip_code*

String

zip code

state*

String

state

callback_url*

String

callback url with method GET

webhook_url

String

webhook url with method POST

{
  "status" : "success",
  "message" : "success",
  "data" : {
      "reference" : "abssjsu222",
      "orderid" : "1282827",
      "link" : "https://paymids.com/checkout/1136/a292929acvvb881272aajakakaka"
  }
}

Last updated