Skip to main content
POST
/
esim
/
packages
/
{id}
Purchase an eSIM package
curl --request POST \
  --url https://business.bfinance.app/external/api/esim/packages/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "externalId": "order‑789"
}
'
{
  "status": "success",
  "data": {
    "id": "65e9f1c74c8b1a3c2f4d9a10"
  }
}

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

id
string
required

Package ID to purchase.

Body

application/json
externalId
string

Optional external identifier to link the purchase with an external system.

Response

Successfully purchased the package.

status
string
Example:

"success"

data
object