Create charge
POST https://payment.yamin.bd/api/create-charge
| Field | Required | Notes |
|---|---|---|
| full_name | yes | Customer name |
| email_mobile | yes | Email or mobile |
| amount | yes | e.g. "30" |
| currency | yes | BDT |
| metadata | yes | JSON object |
| redirect_url | yes | Whitelisted host |
| cancel_url | yes | Cancel page |
| webhook_url | yes | Server callback |
| return_type | yes | GET or POST |
Response
{
"status": true,
"pp_id": "…",
"pp_url": "https://payment.yamin.bd/payment/…"
}