This section provides the Pricing endpoints required to manage and operate the full lifecycle of resources within the ViaBlocks platform.
These endpoints are designed for secure, auditable, and scalable server-to-server integrations, and support core business operations and compliance workflows.
Retrieves available payers with their exchange rates and transaction limits for a given destination country and branch.
- Display available payout options and pricing to customers before they select a payer
- Show which payment networks are available in a destination country with their rate ranges
- Allow customers to compare payers by exchange rate and transaction limits
- Send
branchIdanddeliveryCountryISOas query parameters - Authenticate with
x-client-idandx-secret-keyheaders - Receive a list of payers with rates and limits for the requested country
Requires x-client-id and x-secret-key headers. Partner must have pricing/payers in their allowed resources.
- The
deliveryCountryISOaccepts ISO 3166-1 alpha-3 codes (e.g., MEX, COL, HND). - Results include rate ranges and transaction amount limits per payer.
400Validation errors (missing branchId, missing deliveryCountryISO, invalid headers)401Invalid credentials403Access forbidden (endpoint not in partner resources)422Pricing data not available for the given parameters500Internal server error502Upstream service authentication failure503Service temporarily unavailable
Error codes (click to expand)
| Code | Description |
|---|---|
400001 | branchId is required |
400005 | x-secret-key is required |
400009 | deliveryCountryISO is required |
400416 | The branchId is not valid for this partner |
401000 | Invalid credentials |
403001 | Access to this resource is forbidden for this client |
422006 | Pricing data could not be retrieved |
500000 | Internal server error |
502001 | Unable to authenticate with upstream service |
503001 | Service temporarily unavailable |
Destination country in ISO 3166-1 alpha-3 format (e.g., MEX, COL, HND, GTM).
You can retrieve the list of available countries from our Catalogs API: Catalogs Endpoint Countries
Error codes: required=400001, type=400002, minLength=400003, maxLength=400004, pattern=400009
Unique identifier assigned to the integrating client. It determines the validation rules, allowed values, compliance policies, and operational limits applied to the request.
Error codes: required=400001, type=400002, minLength=400003, maxLength=400004
curl -i -X GET \
'https://sandbox-viablocks.viamericas.io/pricing/payers?branchId=string&deliveryCountryISO=string&validations=true' \
-H 'x-client-id: string' \
-H 'x-secret-key: string'- Successful payer rates response with multiple payers
- Response with a single payer available
- No payers available for the requested country
{ "status": "success", "data": [ { … }, { … } ] }