POST
/
payments
/
create
curl --request POST \
  --url https://v3.minestorecms.com/api/payments/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "details": {
    "fullname": "<string>",
    "email": "jsmith@example.com",
    "address1": "<string>",
    "address2": "<string>",
    "city": "<string>",
    "region": "<string>",
    "country": "<string>",
    "zipcode": "<string>"
  },
  "termsAndConditions": true,
  "privacyPolicy": true,
  "paymentMethod": "<string>",
  "currency": "<string>"
}'
{
  "success": true,
  "data": {
    "type": "<string>",
    "url": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Payment successfully created.

The response is of type object.