Supported Formats

json

GET /api/v1/billing/payment_providers/paycargo/fees

This endpoint returns Octopi’s approval response for a transaction.

Supported Formats

json

Errors

Code Description
400 Bad request
404 Not found
500 Internal server error

Examples

curl "https://app.octopi.co/api/v1/billing/payment_providers/paycargo/fees" -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOURTOKEN"

Params

Param name Description
invoice_number
required

Validations:

  • Must be a String

code
required

Validations:

  • Must be a String

vendor_id
required

Validations:

  • Must be a String


POST /api/v1/billing/payment_providers/paycargo/payment

This endpoint receives payment confirmation details from a PayCargo transaction.

Supported Formats

json

Errors

Code Description
400 Bad request
404 Not found
500 Internal server error

Examples

curl --data "param1=value1" --data "param2=value2" "https://app.octopi.co/api/v1/billing/payment_providers/paycargo/payment" -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOURTOKEN"