Create Currency

The Create Currency API allows you to add a new currency to the system. This endpoint requires a valid bearer token for authentication.

API Method

POST

Endpoint

https://cebuana-apiuat.veryfyglobal.com/currencies

Headers

Key
Value

Accept

application/json

Authorization

Bearer <YOUR_TOKEN>

Content-Type

multipart/form-data

Form-Data Parameters

Parameter
Type
Required
Description

name

string

Yes

The unique name of the currency.

code

string

Yes

The unique ISO 4217 code for the currency (3 characters max).

image

file

Yes

Image representing the currency (must be a valid image file).

buy_rate

number

No

Optional buy rate for the currency (must be a non-negative number).

sell_rate

number

No

Optional sell rate for the currency (must be a non-negative number).

order

integer

No

Optional order value to determine sorting (must be a non-negative integer).

Request Example

Form-Data

Key
Value

name

United States Dollar

code

USD

image

usd_image.png (file upload)

buy_rate

1.12

sell_rate

1.10

order

1

Response Sample

{
    "message": "Ok",
    "data": []
}

Last updated