Payment

Authorize customer to get payments

Payment API provides a gateway for the payments. Payment process is completed partially. First, we authorize the amount from the customer's payment instrument and the amount will be captured automatically after 2 days.

Authorization process tells that the payment instrument is ready to be captured successfully. If not, the authorization process will fail. You need to alert the customer that they are not able to create a delivery.

Card Authorize

POST https://api.berymo.com/api/schedule/v1/payment/card-pay/authorize

Authorize the customer's card for delivery.

Request Body

Name
Type
Description

card

string

Card UUID to be authorized

amount

number

Total amount to be authorized

{
    "payment_method": "pm_xxxxxx",
    "payment_intent": "pi_yyyyyy",
    "card": {
        "uu_id": "x-y-z-t-u",
        "brand": "Visa",
        "last4": "4555"
    }
}

Last updated

Was this helpful?