TamCuzdan Entegrasyon Help

Kredi Kartı v1.0.0

Base URLs:

POST Redirect Link Preparing

POST /transaction_poppy/preparePageLink

İletilen parametreler ile bir yönlendirme link'i oluşturur ve Json objesiyle url parametresi olarak döner. Diğer bilgiler sizin gönderdiğiniz bilgilerdir

{ "transaction_id": "733333", "user_id": "64f4ef4532ww", "user_fullname": "Jason Stradivarius", "username": "Json13th", "tckn": "51875487770", "amount": 10, "phone": "5430000000", "mail": "test@example.com" }

Params

Name

Location

Type

Required

Description

tam-api-key

header

string

yes

none

body

body

object

no

none

» transaction_id

body

string

yes

none

» user_id

body

string

yes

none

» user_fullname

body

string

yes

none

» username

body

string

yes

none

» tckn

body

string

yes

none

{ "status": "SUCCESS", "result": "Success", "message": "Success", "showMessage": true, "data": { "url": "https://pay.tamcuzdan.com/?access_token=AABBCCDDQQ1111aabb&user_id=AnyString5&user_fullname=John%20Doe&username=BananaJoe&tckn=13479874512", "user_id": "AnyString5", "user_fullname": "John Doe", "username": "BananaJoe" } }

Responses

HTTP Status Code

Meaning

Description

Data schema

200

OK

OK

Inline

Responses Data Schema

HTTP Status Code 200

Name

Type

Required

Restrictions

Title

description

» status

string

true

none

none

» result

string

true

none

none

» message

string

true

none

none

» showMessage

boolean

true

none

none

» data

object

true

none

none

»» url

string

true

none

none

»» user_id

string

true

none

none

»» user_fullname

string

true

none

none

»» username

string

true

none

none

POST Callback Request CreditCard

POST /YOUR_CALLBACK_URL

Her işlem sonucu bize bildireceğiniz callback url adresine POST methodu ile json body olarak gönderilir. Callback url Http status 200 dönene kadar 5 istek gönderir.

Whitelist için ip bildirilecektir.

{ "transaction_id": "string", "paid_amount": 0, "status": "string", "type": 0, "createdAt": "string" }

Params Callback

Name

Location

Type

Required

Description

body

body

object

no

none

» transaction_id

body

string

yes

none

» paid_amount

body

integer

yes

none

» status

body

string

yes

none

» type

body

integer

yes

none

» createdAt

body

string

yes

none

{}

Responses Callback

HTTP Status Code

Meaning

Description

Data schema

200

OK

OK

Inline

Last modified: 13 November 2023